3 ms·
Sure, but I‘d rather have a linter detect this kind of code smell automatically if it provides a reasonable explanation to the author. In my experience, a fair
by ilumanty 3y ago
Sure, but I‘d rather have a linter detect this kind of code smell automatically if it provides a reasonable explanation to the author.
In my experience, a fairly strict non-aesthetic linter setup makes mentoring much more efficient.
- captbaritone 3y agoI love that framing. I’m the author of the rule/post and I see writing rules like this as an opportunity to mentor at scale. Incredibly rewarding to think that, in a sense, I can be in so many engineer’s editors helpfully pointing out (and via documentation explaining) issues right at the moment that the developer needs it. Just in time mentorship!
- ZephyrBlu 3y agoYeah for sure, I think the linting rule is great.