CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Naming Convention

    I've just got a new job. In this company nobody cares about naming convention. In the same procedure you can find variables with names : sFirst as string, strSecond as string, Third$, lFourth as string and so on. We have a meeting scheduled for tomorrow to discuss this and similar problems. Could anybody give me any source for the most usefull naming convention system?
    Thank you.
    Vlad


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Naming Convention

    Yuk - I hate that kind of thing. I know some people like 'str' and some like 's' but I wish they'd stick to just one throughout a program.

    I suppose you could recommend the Microsoft way as detailed in the MSDN - I posted this a while back to the forum :

    >>>

    There's the one that comes with the MSDN disks in Visual Studio at :

    msdn library\visual studio 6 documentation\visual basic documentation\using visual basic\programmers guide (all editions)\Visual Basic Coding Conventions


    Or you can just jump straight to it on the web here :
    http://msdn.microsoft.com/isapi/msdn...nsoverview.htm
    <<<<

    You can print the web version out straight away if you don't want to dig through the CD's.

    I also remember seeing a couple of days ago that M$ have posted the original essay on hungarian notation at their website at http://msdn.microsoft.com - just a little bed-time reading that's sure to impress (or bore sensless) your new boss.



    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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

Featured