C# in Depth

Cover of C# in Depth
Order now (3rd edition)

Cheap vs good

Chapter 13: Elegant code in the new era: 13.0 (Introduction)

Created: 3/6/2008
Last updated: 3/6/2008

It has been pointed out that writing perfect code is expensive. Sometimes taking the cheap, hacky path can be the most appropriate business decision. This can be difficult to live with if you have a natural quality focus, and it's particularly inconvenient if the options are "grotty hack to make the company survive... but leading to crippling issues later" vs "elegant solution which would pave the way for further development... but the company will die first".

If the language can make "right" code also "cheap" code, that's fabulous - and really tricky in terms of language design.