Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Hungarian notation, kind of

by sundialsvc4 (Abbot)
on Jan 22, 2013 at 16:24 UTC ( #1014718=note: print w/replies, xml ) Need Help??

in reply to Hungarian notation, kind of

To me, consistency is key.   If your application has to work alongside other code (e.g. in VB) that already uses this nomenclature, then follow suit.   If you are working with a legacy application that didn’t use it, don’t introduce it.   Figure out what the Romans were doing and keep doing it.

These notations can unintentionally be misleading when used with a “typeless” language, such as Perl is and such that VB often is.   You can legitimately find that your szFoo variable contains an integer, or that the value it contains has magically transmogrified itself into one.   Thus, the social-contract that has been implied by the naming can’t be upheld by the technology, which might produce confusion.  Nevertheless, human beings will still benefit from consistency in naming, whatever that consistency is.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014718]
[LanX]: does it include hidden Perl 6 messages or other satanism?
[zentara]: I'm listening to 20,000 Tibetan monks chant Om Mani Padme Hum
[zentara]: I've decided the first words I will utter when I'm born into that other world..... Hari Om :-)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-05-24 21:40 GMT
Find Nodes?
    Voting Booth?