Keith:

I think the original point was for CF developers (specifically in the Eclipse
IDE) to have JavaDocs capabilities so that they could describe the usage,
type and purpose of the variable.  I don't think anyone was arguing the
history or usage of Hungarian Notation.

> This is very, very different from the VB-style HN that most 
> people on this list have probably been in contact with, where 
> you prefix the physical type to the variable (which is just a 
> little dumb). Case in
> point: prefixing variants with 'vnt', tables with 'tbl', &c. 
> This kind of notation sprung from two sources: C-programmers 
> who learned Windows programming from Petzold[2] and picked up 
> 'HN' there, and from reading code produced by the systems 
> group in MS. Both sources made the unfortunate error of 
> confusing physical types with the types Simonyi was talking 
> about. The VB crowd just compounded this to the mess we have today.
> 
> Most of the conventions in the original HN are actually 
> useful in any language, primarily because most of the things 
> in it are things you put in names anyway. Mind you, some of 
> them, such as the 'p' and 'sz'
> prefixes are C-specific, and though I personally thing 'sz' 
> isn't particularly useful (unless you're dealing with a whole 
> bunch of different string types that look otherwise 
> identical, like you might in C), though 'p' *is* useful if 
> you're dealing with pointers a lot.
> 
> Sorry for the ramble. If you haven't already read it, you 
> should read Joel Spolsky's original article[3], which is what 
> triggered Sean to write his one. Also, Larry Osterman's last 
> blog entry on the topic[4] is worth a look.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:206764
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to