Skip to content

Comment on You Don't Want to Think Like a Programmerparent

Comments

I spent a week deleting code I couldn't detect a use for. I nuked nearly 40,000 lines and could not discern a difference in functionality (though, couldn't be certain since I hadn't completed the test suite.)

I don't think we deleted 20k lines. Probably more like 5k.

However the kicker was when deleting something that seemed harmless enough broke something. In that case, it was a comment. We're not talking about smart comments here. We are talking about comments that are parsed and used by the application at run-time for actual logic :-P.

Oh, and when we added test cases for rounding numbers.... the test cases failed....

Regarding the role of language, I would much rather be maintaining bad Perl code than bad PHP code.....

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.