|
|
Am 04.08.2012 18:16, schrieb Le_Forgeron:
> Le 04/08/2012 10:15, BertvdB nous fit lire :
>> As a addition to this, why don't we use the hungarian notation. Makes coding
>> much clearer.
>> http://en.wikipedia.org/wiki/Hungarian_notation
>> This will explain what I mean
>
> Because there is so few "types" in SDL. Value, vectors... from 2D to 5D...
> what else ? a spline ?
>
> Hungarian notation is dead. Let it rest.
It's dead because modern IDEs have stuff like "IntelliSense" that allow
you to see a variable's type just by hovering the mouse over it.
POV-Ray's IDE doesn't have such a feature.
It's also quite a common practice in POV-Ray to prefix function names
with "f", texture variables with "t" or "tx", material variables with
"m" or "mt", etc.
That said, I absolutely, positively agree that Hungarian notation should
/not/ be forced on anyone - just like any other religion :-P
> Better use meaningful identifiers!
Always a good idea, whether using Hungarian notation or not.
Post a reply to this message
|
|