Just real quick - which is best?
acmeWidgetBlue
AcmeWidgetBlue
acmewidgetblue
Acme_Widget_Blue
And why?
acmeWidgetBlue
AcmeWidgetBlue
acmewidgetblue
Acme_Widget_Blue
And why?
Last edited:
I kind of miss the hungarian notation style. No one uses it anymore.
that's pretty much standard where I work. useful if there's a lot of fundamental types and intellisense does not work.
Useful til you need to change the type of a variable....
Hungarian Notation is a disaster. Anyone who's ever done Windows programming in C++ feels me:
lpszFirstName
nSize
m_lpszFoobar
And don't forget let's really make things unsightly when doing typedefs:
LPCTSTR
PDWORDLONG
ULONGLONG
Gah!
That's what "Replace All" in the editor is for 🙂Useful til you need to change the type of a variable....
Hungarian Notation is a disaster. Anyone who's ever done Windows programming in C++ feels me:
lpszFirstName
nSize
m_lpszFoobar
And don't forget let's really make things unsightly when doing typedefs:
LPCTSTR
PDWORDLONG
ULONGLONG
Gah!
I was forced to use it in the early 90's like everyone else working in windows and C++. I feel like it was a well-intentioned effort to decorate variable names with type information, that was fortunately rendered obsolete by tool developments.