bertt / tango

2 stars 0 forks source link

Refactor: Use coding standard #30

Open bertt opened 6 years ago

bertt commented 6 years ago

something like https://blogs.msdn.microsoft.com/brada/2005/01/26/internal-coding-guidelines/

bertt commented 6 years ago

todo: remove 'm_' for private members

bertt commented 6 years ago

using var:

Use var when the type is obvious. var foo = new Foo();

Don't use var when the return type isn't obvious. Foo foo = service.GetItem();

aiunderstand commented 6 years ago

Agree, resharper can enforce some code patterns

bertt commented 6 years ago

todo: Enumerations must be Pascal case not Camel case