Re: How to name variables in a program?



> No help on the veracity of the claim, but here is the article:
>
> http://www.joelonsoftware.com/articles/Wrong.html

Just took the time to read the entire article. Some interesting views
indeed, although I feel the whole rant about C++ is somewhat out of place (I
think someone quoted that particular bit before, either in this group, or in
c.l.c).

One thing that I find is underestimated throughout this entire discussion is
the value that HN (or System Hungarian as Joel names it) has in untyped
languages. Most of the work the compiler does for you when using a typed
language can be somewhat compensated for using HN (admittedly, types are
sometimes completely interchangable within some of these untyped languages).
Then again, using the Apps Hungarian should have a similar compensating
effect, because the "kind" of variable also tells enough about the "type" of
variable.

Even though Microsoft discourages/disproves of it (without proper reason,
IIUC) I am going to stick with it for now, but put more emphasis on the Apps
flavor - although I hope that won't jeapordize my changes of ever working
for Microsoft ;)

Thanks for the article,

--
Martijn
http://www.sereneconcepts.nl


.