Skip to content

Comment on Programming's Dirtiest Little Secretparent

Comments

There are a few problems with this:

1. Sometimes, making it work is enough. (one time code and such) There's no reason, other than for practice, to waste time designing such cases.

2. You may find out that you're solving the wrong problem, and it's much easier to justify throwing out code that you didn't labor over an extensible design, etc. It's much harder to throw away wrong code that you've put work into the internal design.

3. This doesn't mean that you don't design the outward facing interfaces correctly. Thus, you have a good set of unit tests already set up, and you can quickly tell if something is working as you refactor. You have a good baseline with which to compare.

AboutSource Built by g1lg1l

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