Naming: A Word To The Wise 12

Posted by tottinger Wed, 28 Nov 2007 02:50:00 GMT

Please pronounce your variable names as words, even if they are merely abbreviations. The phonemes indicated by your spelling may correspond to an existing word with an entrenched meaning. It may be one that you do not intend to communicate.

Comments

Leave a response

  1. Avatar
    Will 26 minutes later:

    Do you have any examples?

  2. Avatar
    Tim 36 minutes later:

    I do, however the nature of this problem is that the particular spellings tend to be either obscenities, profanities, or racial/national slurs. The whole point of the post is that we don’t want to include those accidentally in our code. Even some non-epithetical phrases can be unfortunate in context of certain calls like “kill” or “spawn” or “fork” or the like.

    Language creates difficulties.

  3. Avatar
    ed hardy about 1 year later:

    Thankyou alot for this information, and looking forward to reading more in the future, as I have bookmarked your site, this post is really very informative. thanks

  4. Avatar
    Criminal Records over 3 years later:

    It was not randomly jumbled, it no longer contained dead code or variables whose function had changed but whose name had not or swaths of duplicated code where only the constants.

  5. Avatar
    Tenant Screening over 3 years later:

    I would like to be faster than I am both mentally and in the sense of quickly producing code. I’d like to be a little less intimidated at the start of a project.

  6. Avatar
    Earnest Guest over 3 years later:

    Great post! I really love how it is easy on my eyes as well as the facts are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your rss feed which must do the trick! Have a nice day!

  7. Avatar
    okey oyunu oyna over 3 years later:

    thanks for sharing it

    internette görüntülü olarak okey oyunu oyna, gerçek kisilerle tanis, turnuva heyecanini yasa.

  8. Avatar
    Monster Kabel Kopfhörer over 4 years later:

    you got it monster beats pro beats von dre pro beats pro Kopfhörer Beats Von Dr.Dre pro Kopfhörer dre pro beaets pro beats pro Kopfhörer

  9. Avatar
    Dolce and Gabbana over 4 years later:

    thanks very much for share with us

  10. Avatar
    UGG Kensington over 4 years later:


    The autumn collection of UGG Kensington are now in stock . The range features Kensington boots.
    UGG Kensington Boots catalog has boots, sneakers and slippers are for everyone that wants to keep warn and dry with the ultimate style. UGGs Kensington are the hot boots right now yet there are lots more Ugg cozy feet products to choose from. The winter season selection has an exiting choice in a number of colors.

    Kensington UGG Boots Kensington UGGs are fashionable biker type boots that are amazingly comfy. Totally Kensington UGG, 100 % cool. They really are warm too because the insole is authentic sheepskin and so are the lined uppers. The external soles are a particular EVA with synthetic rubber pod inserts, so no chance of slipping and they last forever too.

  11. Avatar
    Luxury brands over 4 years later:

    It’s useful to study your blog. The information of your site is precisely excellent, and your blog design is Simple good.

  12. Avatar
    Backup iPhone SMS over 4 years later:

    Make it possible to backup all stuff including contacts to computer and restore to iPhone when necessary.

Comments