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.
Printable View
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.
What is a style rule?
To maintain consistencey some companies have rules about how you must write your code.Quote:
Originally posted by Ambivalentiowa
What is a style rule?
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.
And you're saying you have to make up your own version of these rules for your company?
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'.
Where did you get those examples you stated before?
They're rules I use.Quote:
Originally posted by Ambivalentiowa
Where did you get those examples you stated before?
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