When it coms to dynamic programming languages such as PHP and JavaScript, one of the things that people often debate is the use of hungarian notation.
Like most things with programmers, the debate can easily become something that resembles a religious argument. The debate normally hits on the following two points:
- You shouldn’t have to use Hungarian Notation – the context of your code should provide enough information.
- You should use Hungarian Notation – it helps with readability of the code.
For whatever it’s worth, I prefer to use Hungarian Notation. And though I’m not exactly one who elevates things to a heated debate, I’ve found as much as I’d like context to provide me with enough information, I don’t always see this as being the case in projects.
