3 ms·
> 2. There are probably edge cases this code solves that we don’t remember. But fortunately, I write in-code comments documenting these, because I pay close at
by naruhodo 2y ago
> 2. There are probably edge cases this code solves that we don’t remember.
But fortunately, I write in-code comments documenting these, because I pay close attention to such details.
> 4. Your own code always feels better to read, because you wrote it. That doesn’t mean it’s actually better to read than someone else’s.
Having that mental context makes your own code easier to read. That's why those comments are so important: they share that context with the next reader. Well-commented code legitimately is better.