News for hackers. Stuff that matters.
Re:Getting to Two Million Users as a One Woman Dev Team by Feathercrown on Tuesday December 17, 2024 @11:02AM (#42442440)
I'm a monster, I see code that's been commented out for more than 2 months or so and nuke it unless I know it's needed. We have Git, it'll be fiiine
Re:Getting to Two Million Users as a One Woman Dev Team by johnmaguire on Tuesday December 17, 2024 @11:07AM (#42442497)
Right. The only time I sometimes leave a commented out line of code is if it's temporarily broken and will be uncommented soon; or if it's by-far the most obvious way to do something, but does not work for some reason, and then there's a comment above about why not above.
Re:Getting to Two Million Users as a One Woman Dev Team by astrospective on Tuesday December 17, 2024 @03:45PM (#42445129)
I bring this up in PRs, as I know with my own experience I don’t always mean to commit it commented out, sometimes it was just for testing, or it should have been deleted after I was done refactoring.