Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Using Hungarian Notation to make member vars

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
GameProgJay Posted - Jul 16 2008 : 1:30:46 PM
Hey I like doing test driven design, and in that spirit I write code and make up a bunch of member vars as I go, and I figure if you use Hungarian notation VX should be able to create the member vars, so like "m_bFadeIn" in a .cpp it would write "bool m_bFadeIn" int its .h. But I don't know just throwing that idea out there.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 17 2008 : 10:18:00 AM
Personally I use a simple form of hungarian notation in all of my code, and would be very unhappy if someone removed it. Plus in scripting languages I rather need this, since it is the only way I can tell what data type the variables are supposed to be.

Still we do have the Rename function if you want
jameso Posted - Jul 17 2008 : 05:06:34 AM

How about an option to remove all hungarian notation from the source? ;)

James
feline Posted - Jul 16 2008 : 2:03:37 PM
Two immediate problems. Firstly ask 6 programmers to define Hungarian notation and you will get 6 different definitions
Secondly this does not work for complex types, e.g.

std::list< std::map< complexTypeOne, complexTypeTwo > >

We are considering a command to create a variable based on how it is used, see this thread for a discussion of this idea:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7190

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000