CodeQualityAndReadability
CodeQualityAndReadability copied to clipboard
Add why is there so much shitty code
https://twitter.com/brianwisti wrote
YOU ARE IN A LEGACY CODEBASE
RUN TESTS YOU HAVE NO TESTS
READ SPEC YOU HAVE NO SPEC
WRITE FIX YOU ARE EATEN BY AN ELDER CODE HACK.
///
The biggest reason code succumbs to entropy is that time is never allowed for either the job do be done right, including making the necessary design changes to gracefully accept a change, or to go back and refactor the design after the fact (or before making the next change) to bring the code back from the brink. This is both a product of the calendar and schedule driven development practices enforced at many companies and the reluctance and the inability of the technical staff to push back on schedules with any influence. If you're forced to stuff two weeks of work into three days, quality always gives.
http://www.theregister.co.uk/2012/12/21/financial_software_disasters/