▲ | dsego 10 days ago | |||||||||||||
> x = 4 // assign 4 to x Ah, the chat gpt style of comments. > Instead do something like: The only negative is that there is a chance the comment becomes stale and not in sync with the code. Other coders should be careful to update the comment if they touch the code. | ||||||||||||||
▲ | Buttons840 10 days ago | parent [-] | |||||||||||||
If the what becomes stale, you can tell. If the why becomes stale (and it can become stale), you'll never know, unless the what is also included. | ||||||||||||||
|