I think it increases maintenance *not* to use hungarian notation. It makes you constantly have to look up "what type is this variable" instead of having it right there before you. For instance, when I write a TRACE statement I can see right away whether to put %d or %f or whatever. If your variable type changes, you do a find a replace, no big deal. You still need to look up everywhere that it's used to make sure it's being used correctly, no matter how you named it. And as far as "ugly"... around here they made a rule "don't use hungarian notation" and instead we have to write variables like this: list_pointer stack_records_pointer valid_boolean
talk about ugly! And so much typing! If you're working with MFC you have to be able to recognize Microsoft's hungarian notation, anyway, so just get used to it and then it's not ugly anymore. >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Paul Grenyer >Sent: Tuesday, January 25, 2005 10:36 AM >To: [email protected] >Subject: Re: [msvc] Handles Across Threads > > >Hi > >> > No. Hungarian notation is where you proceed a variable >> > declaration with a >> > letter(s) that indicate its type. For example: >> > >> > int iNum; >> > float fNum; >> > char szBuffer[1000]; >> >> Ah, well I use my own notation, but I do use things like >str, n, d, lb, >cmb, >> siz blah blah blah > >Regardless of whether it's your own or Hungarian it is my >opinion that it is >ugly and a fact that it increases maintenance. _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
