For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | christf24's commentsregister

I probably didn't put enough entertaining spinning gifs ;)


Do you just leave the code in the spot it was? Or do you move it up in the function comment? I've done that to also explain example use cases, and I've seen David do it in Rails core.


I'm not a Ruby programmer so maybe this is wrong for some reason. I leave it in place. With intelliJ you can collapse comment blocks so if you have a bad reaction to "messy" code you don;t have to look at it. Leave the corpse where it fell as a warning


Agreed. It's definitely better than just commenting out code and leaving it there, but it could get super messy.


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

Search:

HN For You