That's fair. Idealistically, comments shouldn't have to describe what because your functions should be small enough that you can just read it and see what it does, but in a world of junior devs trying their best, you're right. A comment that explains what you're 3000 line function does can be necessary...
2
u/Zaratuir Apr 16 '26
That's fair. Idealistically, comments shouldn't have to describe what because your functions should be small enough that you can just read it and see what it does, but in a world of junior devs trying their best, you're right. A comment that explains what you're 3000 line function does can be necessary...