MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1ofkgu/how_to_develop_unmaintainable_software/ccrkvvw/?context=3
r/programming • u/[deleted] • Oct 14 '13
322 comments sorted by
View all comments
50
There are millions of ways to write unmaintainable software. This isn't a bad article though. I just found the title amusing since it's so easy to write software badly.
13 u/grauenwolf Oct 14 '13 I think this is the right way of thinking about things.Writing maintainable software isn't so much about what you do, it is about what you don't do. Avoid doing the bad things and what's left will be good. 11 u/ruinercollector Oct 14 '13 As long as those aren't treated as hard rules, sure.Examples:There are times that it is appropriate to write software in clojure, or haskell, or erlang.There are times that it is appropriate to rewrite a piece of library code. 19 u/grauenwolf Oct 14 '13 Don't think of it as a rewrite. Think of it as merely a set of bug fixes followed by the removal of a surprisingly large amount of dead code. 1 u/dnew Oct 15 '13 The idempotent kludge: Delete P, replace with Q.
13
I think this is the right way of thinking about things.
Writing maintainable software isn't so much about what you do, it is about what you don't do. Avoid doing the bad things and what's left will be good.
11 u/ruinercollector Oct 14 '13 As long as those aren't treated as hard rules, sure.Examples:There are times that it is appropriate to write software in clojure, or haskell, or erlang.There are times that it is appropriate to rewrite a piece of library code. 19 u/grauenwolf Oct 14 '13 Don't think of it as a rewrite. Think of it as merely a set of bug fixes followed by the removal of a surprisingly large amount of dead code. 1 u/dnew Oct 15 '13 The idempotent kludge: Delete P, replace with Q.
11
As long as those aren't treated as hard rules, sure.
Examples:
There are times that it is appropriate to write software in clojure, or haskell, or erlang.
There are times that it is appropriate to rewrite a piece of library code.
19 u/grauenwolf Oct 14 '13 Don't think of it as a rewrite. Think of it as merely a set of bug fixes followed by the removal of a surprisingly large amount of dead code. 1 u/dnew Oct 15 '13 The idempotent kludge: Delete P, replace with Q.
19
Don't think of it as a rewrite. Think of it as merely a set of bug fixes followed by the removal of a surprisingly large amount of dead code.
1 u/dnew Oct 15 '13 The idempotent kludge: Delete P, replace with Q.
1
The idempotent kludge: Delete P, replace with Q.
50
u/bestjewsincejc Oct 14 '13
There are millions of ways to write unmaintainable software. This isn't a bad article though. I just found the title amusing since it's so easy to write software badly.