Adam Heath wrote:
Adrian Crum wrote:
I like using the this keyword because it makes the scope clear. I find
it makes it easier for me to understand someone else's code.
That's the compilers job, don't try to do an end run around it.
Excuse me??
int var2 = someMethod(someValue);
The scope o
Adrian Crum wrote:
> I like using the this keyword because it makes the scope clear. I find
> it makes it easier for me to understand someone else's code.
That's the compilers job, don't try to do an end run around it.
From: "Adam Heath"
What is the policy on use of this to access the variables and methods
in ofbiz? It's not entirely consistent across the code base.
I would prefer not to use this when it isn't needed, as it introduces
an extra keyword into the code.
+1
Jacques
I'm guessing it also gets used a lot because of IDE code completion.
Regards
Scott
On 30/03/2010, at 9:56 AM, Adrian Crum wrote:
> I like using the this keyword because it makes the scope clear. I find it
> makes it easier for me to understand someone else's code.
>
> -Adrian
>
> Adam Heath w
I like using the this keyword because it makes the scope clear. I find
it makes it easier for me to understand someone else's code.
-Adrian
Adam Heath wrote:
What is the policy on use of this to access the variables and methods
in ofbiz? It's not entirely consistent across the code base.
I w
What is the policy on use of this to access the variables and methods
in ofbiz? It's not entirely consistent across the code base.
I would prefer not to use this when it isn't needed, as it introduces
an extra keyword into the code.