Re: [Vala] "this" in objects
- From: Jens Georg <mail jensge org>
- To: vala-list gnome org
- Subject: Re: [Vala] "this" in objects
- Date: Wed, 03 Aug 2011 22:57:16 +0200
On Mi, 2011-08-03 at 20:39 +0200, Pavol Klačanský wrote:
why somebody uses this. prefix and somebody doesn't, I have tried and it
worked with or without it
It's a matter of taste and or coding guidelines or explicitly avoid
shadowing of object members by local variables.
"this" can be used as an equivalent to the hungarian notation of m_foo
You're completely free to use the style that suits you for your project.
] [Thread Prev