I think comments are important to provide context to others - maybe it’s not necessary to document why you made every choice, but maybe something specific is a best practice in your company and it might be nice to note that in the code.
I comment heavily right now so I can remember what things do and why I wouldn’t do it this other, often longer way I might think to do them!
I write tutorials on my blog at www.lankydan.dev . During the day, I am a Platform Engineer at r3 where I work on Corda, an Open Source DLT/Blockchain Platform.
I think comments are important to provide context to others - maybe it’s not necessary to document why you made every choice, but maybe something specific is a best practice in your company and it might be nice to note that in the code.
I comment heavily right now so I can remember what things do and why I wouldn’t do it this other, often longer way I might think to do them!
Follows the lines others are saying, that they show explain why / provide context as you've written.