A recent blog entry by Sean Corfield has led to this
thought:

http://www.corfield.org/blog/?mode=entry&entry=D1CB9656-0284-4F53-209C8F9F6159FB8D

It seems to me that the primary argument given for the
use of Hungarian notation to signify data types is to
allow the naming convention to compensate for weakly
typed languages like CF and VB. It's proponents argue
that using Hungarian notation allows them to see at a
glance the type of the variable without having to
search through code.

I think there is another better solution to this
problem -- let the IDE and the language solve this
together. For example, when using the Eclipse IDE for
Java, hovering over a variable name brings up the
JavaDocs for that variable, showing its type
information as well as any comments by the author
about its intended usage. This information would be
far more useful than the mere knowledge of the
variable type. If CF were to add some kind of
JavaDoc-like annotation feature, then I don't think
there would be any more arguments about CF and
Hungarian notation (excluding notepad and emacs users
:) ....

I-Lin Kuo
Macromedia CF5 Advanced Developer
Sun Certified Java 2 Programmer


                
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206708
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