You Should Write Ugly Code
redotheweb.com
You Should Write Ugly Code
1–10 of 56 posts
Re: You Should Write Ugly Code
#2Relevant blogpost: http://swizec.com/blog/my-very-own-daily-wtf/swizec/5829
Relevant website: http://thedailywtf.com/
Re: You Should Write Ugly Code
#3You should definitely write ugly code. People pay me and people like me good money to come in and clean up your mess when adding features becomes an endless exercise in breaking things in unexpected ways for the whole team and productivity plummets. Relevant blogpost: http://swizec.com/blog/my-very-own-daily-wtf/swizec/5829 Relevant website: http://thedailywtf.com/
Re: You Should Write Ugly Code
#4From my understanding, this is the crux of the article. The problem with this is the misunderstanding of why people employ patterns in programming. It's not for the sake of beauty, but because of sound architectural principles.
Maybe that's how he interprets beauty, but then using the word beauty diminishes why the code was written the way it was written. That beauty is subjective.
The reality is good code and good practices have real measurable value that mere "beauty" does not.
Re: You Should Write Ugly Code
#5You should definitely write ugly code. People pay me and people like me good money to come in and clean up your mess when adding features becomes an endless exercise in breaking things in unexpected ways for the whole team and productivity plummets. Relevant blogpost: http://swizec.com/blog/my-very-own-daily-wtf/swizec/5829 Relevant website: http://thedailywtf.com/
They will only pay you to fix their code after they've released their product and are selling it for a profit.
Re: You Should Write Ugly Code
#6Re: You Should Write Ugly Code
#7Re: You Should Write Ugly Code
#8You should definitely write ugly code. People pay me and people like me good money to come in and clean up your mess when adding features becomes an endless exercise in breaking things in unexpected ways for the whole team and productivity plummets. Relevant blogpost: http://swizec.com/blog/my-very-own-daily-wtf/swizec/5829 Relevant website: http://thedailywtf.com/
They will only pay you to fix their code after they've released their product and are selling it for a profit.
Products growing through sales can go without proper cleanup for decades. Friends have told me stories of single SQL queries taking upwards of 15 minutes to run (and then being rewritten in SQL+PHP that does the same in 20 seconds)
Re: You Should Write Ugly Code
#9> the code they wrote for the sake of beauty is crap. From my understanding, this is the crux of the article. The problem with this is the misunderstanding of why people employ patterns in programming. It's not for the sake of beauty, but because of sound architectural principles. Maybe that's how he interprets beauty, but then using the word beauty diminishes why the code was written the way it was written. That bea…
Re: You Should Write Ugly Code
#10Earlier quoted context omitted.
They will only pay you to fix their code after they've released their product and are selling it for a profit.
Actually, I find that it's usually when the ugly code starts to cost them more. Basically, it's a car without brakes. It will get you where you are going, but it would have cost less all together if you'd installed working breaks from the beginning.
But in startup-world, it's not obvious at all. To really abuse your analogy, if you're being chased by wild hungry bears, you don't care whether the car has brakes.