Results 1 to 4 of 4

Thread: Variable Naming

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Arrow Variable Naming

    I've just been checking out the new .Net variable naming guidelines MS have come out with over at http://msdn.microsoft.com/library/de...guidelines.asp & find these pretty crappy.

    I just wanted to know everyone elses opinion on these - do most of you still use the good old hungarian notation when programming in .Net?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    I still use strTest, blnIsOpen, mstrUsername, etc.
    There was a thread on this last month as well.

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    I still use 3 letter codes in front of variable names like salvelinus
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  4. #4

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yeah thanks - that link was pretty useful. It looks as though this new naming convention is for to get people use to working with and reading different languages within the .net IDE environment.

    I've got the same opinion as you guys as I'm just doing vb I'm going to stick to the good old 3 letter convention - much easier to read/get on with.

    Thanks!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width