Dec. 6, 2016
10:14 a.m.
+1 super annoying! On Dec 6, 2016 11:10, "Denis Kudriashov" <dionisiydk@gmail.com> wrote:
Hi.
There is very annoying logic of accessors refactoring. For example imaging your class already has getter for variable #myInstVar but with some extra code instead of simple return. For example it could be lazy initialization:
MyClass>>myInstVar ^myInstVar ifNil: [#someValue]
In that case accessors generator will suggest you new getter method #myInstVar*1. * I really doubt that anybody accept generation of such method. I always remove it from changes list which is very annoying.
Am I alone about it? Can we remove this logic?
Best regards, Denis