[Gambas-user] JIT crash

Benoît Minisini g4mba5 at gmail.com
Mon Oct 8 01:42:45 CEST 2018


Le 08/10/2018 à 01:32, Jussi Lahtinen a écrit :
> OK, I thought it is effectively the same as overriding a property. I use 
> it also in "real code", where I do not need setter & getters. And yes, I 
> do know the OO philosophy about them, but I disagree. For me it's just 
> huge amount of useless code.
> But yes, I think the compiler should raise error.
> 
> Jussi
> 

I don't understand what you agree with and what you don't.

Variable looks like properties from the outside, but they aren't. 
Properties are methods, code. Variables are storage. I don't see any 
need for overriding variables, except code obfuscation!

-- 
Benoît Minisini


More information about the User mailing list