Results 1 to 8 of 8

Thread: Style Rules

  1. #1

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    Style Rules

    I have to write a set of style rules, for VB.
    Anybody got any suggestions.
    Or better still does anyone know a web address where it has already been done.
    Cheers.

  2. #2
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375

    Buy thumb now while it's still cheap.

    What is a style rule?
    -Show me on the doll where the music touched you.

  3. #3

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    Re: Buy thumb now while it's still cheap.

    Originally posted by Ambivalentiowa
    What is a style rule?
    To maintain consistencey some companies have rules about how you must write your code.
    Like all indents must be 4 spaces.
    No With statements for in Form objects.
    All functions must have an Upper Case letter in the middle of their name
    etc.

  4. #4
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375

    Thumb can help!

    And you're saying you have to make up your own version of these rules for your company?
    -Show me on the doll where the music touched you.

  5. #5

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479
    Yes, but I don't just want to say 'you all have to write like I do'.
    I was hoping there was a set of rules already written that I could 'borrow'.

  6. #6
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375

    thumb is magical.... ahhhhhhhh....

    Where did you get those examples you stated before?
    -Show me on the doll where the music touched you.

  7. #7

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    Re: thumb is magical.... ahhhhhhhh....

    Originally posted by Ambivalentiowa
    Where did you get those examples you stated before?
    They're rules I use.

  8. #8
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Microsoft have a set of coding standards/guidelines for Visual basic that are pretty much the de facto standard.

    They are documented in Code Complete and also in the manuals for VB enterprise edition.

    In addition, the Seven secrets of successful programmers may be of interest.

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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