- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Coding standards
I have been reviewing the api and sample code and was hoping you could share your coding standards? I see were classes and public properties have lower case for the first character which conflicts with the standards I have been familiar. Also, see where parameters start with upper case. It makes it difficult to follow at times.
If you could share your standards, it may help.
Thank you.
Randy Kroeger
โ03-23-2022 07:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a tricky question, because coding standards are subjective. There are many different recommended coding styles, and a lot of people follow different rules. Ours is not necessarily the best one, but it seems to be the one that most similar to the standards you have known.
โ03-25-2022 10:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forgive me, but here are the standards I have been most familiar. It is unfortunate that they have been more subjective. It does make it more difficult to read across different code bases. A good source that I have always looked at is a book called: Code Complete.
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions
Thank you for your response. This helped me.
โ03-29-2022 12:12 PM