Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lamontcg
· 3y ago · 0 comments
Reminds me of some code that I've written which got passed off to other teams who ripped it out because all they saw was the complexity and they didn't recognize what issues it was preventing (Chesterton's Fence).
Comments
[–]
quickthrower2
3y ago
Code like that needs a 10 ft comment. I have been save by seeing those on otherwise “why the fuck is this needed” code.
If they if ignore the comment, well that is hubris.
[–]
lamontcg
OP
3y ago
I'm pretty good about doing that. I've gotten compliments before for a massive 10 line code comment above a-single-line-that-shall-not-be-deleted.