I’m used to work on my on smaller projects where I normally is the only contributor but now I’m working on a ASP .Net C# project where others will be working with my code later on.
I do believe I do comment my C# code in a professional way but I have never bothered writing comments in my ASPX pages except in JavaScript code.
Is there any “standard” that ASP .Net developers work with?
Do I put info in comments about actions generated in Code Behind to simplify reading the page or is that overkill?
Thanks,
Stefan
Strive for self-documenting code (requires fewer comments).
Follow common patterns (in-house or industry)
Use (sparingly) comments ‘of high level Intent’ to explain non-obvious code.