by folkrav · 3y ago · 0 comments
Comments like these very often end up lying to my face and make me lose precious time. I nowadays tend to semi-ignore them and just read the code anyway. YMMV, I guess.
I suppose if you prefer to ignore comments, they are more likely to get out of date, which may be why your mileage varies.
(Obviously you should endeavor to write good names anyway).
At some point the system does depend on its authors doing the right thing.
But I don't completely disagree that they can have their place. They just get used as crutches for unreadable code a lot of time, that's all.