> No, no, no, no, no!!!! Even Microsoft have given up on this practice
as being old-fashioned and causing confusion and making code hard to
read!

Well i don't agree. Because c# is using typed variables, so the ide
knows what type it is or has to be. The same with delphi, c++ aso. But
when you use a language that don't cares about types it's a quite good
advice, i guess.
And if microsoft gives up sthg. it does not mean that i have to do it
too...

> Hungarian notation is a *terrible* practice! It makes code hard to
read and it makes maintenance *much* harder!

Personally i loved the Hungarian notation. In it's detail it could
become complicated and generate unreadable code, but if you use a small
part of it it's quite handy.

Take this code for eg.

<cfset var = form.ProductNumber>

If you write

<cfset sVar = form.ProductNumber> then you know that the ProductNumber
not only contains numbers but characters too.

Well it's only my idea, i use it for about 10 years now and it seems to
work.

>Bullshit! This has been totally discredited. Microsoft were the most
adamant proponents of Hungarian notation - go read their C# coding
>guidelines: they decry Hungarian notation!

As mentioned. If you have a compiler or a IDE that checks the types
(like c#) i agree, but if not, then i guess my approach is easier.


<cfgreetings from="[EMAIL PROTECTED]" to="reader" location="bern"
country="switzerland" function="railo core developer" message="merry
xmas">



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188741
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to