Hacker News new | past | comments | ask | show | jobs | submit login

A team I worked with had a fun little habit I have since borrowed: you add a "BOGUS" comment next to the offending line. Sort of like:

// BOGUS: assuming 'x' will never be greater than 1024.

Sort of tells future engineers, yeah, I know it's shit.




// I'm so sorry...

A comment I left that I am sometimes reminded of by ex-coworkers still at that company.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: