Quoting Rickard Öberg <[email protected]>:
On 2010-08-02 02.05, Stanislav Muhametsin wrote:
* We don't use "_" prefixes anywhere else in the code, so please
refrain from that.
My heart will bleed for this though. Not to mention my eyes. Not to
mention that prefixing instance variables with "_" is extremely good
practice.
Like Niclas said, if the purpose is to easily distinguish method
parameters from instance variables, then IDE's have done that using
highlighting for the past decade, so that's not an issue. Or is
there any other issue you're trying to deal with?
/Rickard
Well, I agree on syntax high-lighting. I've just found it awfully
handy to type either just "_" or "this._" and content assist shows me
all the instance variables then. Instead of typing "this." or just
ctrl-space (or whatever key-combination for content assist you have),
when it shows all the methods too, and that gets bloated usually.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev