What is the benefit of not using Hungarian notation?
Posted
by
user29981
on Programmers
See other posts from Programmers
or by user29981
Published on 2011-08-21T16:13:55Z
Indexed on
2014/06/03
15:53 UTC
Read the original article
Hit count: 234
One of the things I struggle with is not using Hungarian notation. I don't want to have to go to the variable definition just to see what type it is. When a project gets extensive, it's nice to be able to look at a variable prefixed by 'bool' and know that it's looking for true/false instead of a 0/1 value.
I also do a lot of work in SQL Server. I prefix my stored procedures with 'sp' and my tables with 'tbl', not to mention all of my variables in the database respectively.
I see everywhere that nobody really wants to use Hungarian notation, to the point where they avoid it. My question is, what is the benefit of not using Hungarian notation, and why does the majority of developers avoid it like the plague?
© Programmers or respective owner