On Mi, 2011-08-03 at 20:39 +0200, Pavol Klačanský wrote:
> Hi,
> 
> 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
for members. 

You're completely free to use the style that suits you for your project.



_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to