Follow

What's better? Perfect code, or crappy code with tests?

@daz

> What's better? Perfect code, or crappy code with tests?

Depends on the size of the code in question. With a small project, I'd take the perfect code (I can add tests). With a huge project, I'd take the crappy code (since there are tests, I can gradually reactor the crappy code without breaking unrelated functionality)

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.