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
|