What are you code comment habits?
Let's guide this question with some cornerstones:
- What is(are) your language(s)?
- Do you follow a coding standard
- Like where do you put function and term descriptions?
- Do you like to use flags, global variables
- Do you write full sentences?
You may post excepts.
>>8642538
I gave up on comments, especially when I saw that other languages rely on "self-documenting" code.
So, other than maybe writing comments for classes, apis, and particularly confusing code, I do not.
I think documentation is a separate task that should mostly not be intertwined with coding functionality.
>>8642547
>especially when I saw that other languages rely on "self-documenting" code.
I don't you why that would affect your code?
>>8642538
Why the fuck are you asking this on /sci/?
Not science or math.
> What is(are) your language(s)
C, c#, D, Python and Haskell are my favorites
>Do you follow a coding standard
Not sure what you mean. I put my {} on separate lines
>Do you like to use flags, global variables
Depends on the context and language features. Usually I avoid these practices
>Do you write full sentences?
Sometimes I forget to use verbs