Mihamina Rakotomandimby <miham...@rktmb.org> wrote:

>Hi all,
>I have a colleague stuck with this thing named "Hungarian Notation"
>We try to define our internal coding standards, which is very close to
>the Symfony ones http://goo.gl/f2rcO
>But we're in conflict because the colleague really argue about his
>"Hungarian Notation".
>Have you got some ressources arguing against this? I ran out of mine to
>convince him...
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

The two don't look to be mutually exclusive, but Hungarian notation doesn't 
make much sense to me for php. Php is a loose typed language, and variables can 
(and do) change their types often. Consider even the internal php functions 
which can return booleans, or arrays or strings, all from the same function. 
Using Hungarian notation to give the dev a hint about the various types doesn't 
make much sense, and may give the dev a false sense of security.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to