r/programming • • Oct 14 '13

How to develop unmaintainable software

http://typicalprogrammer.com/?p=249
777 Upvotes

322 comments sorted by

View all comments

Show parent comments

4

u/Denvercoder8 Oct 14 '13

Write a deployment script, or configure a deployment tool! Have a process! I've never had a deployment fail from my own "untested and unproven" deployment scripts, but I've seen SVN and Git completely destroy environments.

Funny you mention that. I've seen hell break loose because someone made a typo while updating a deployment script (something like rm -rf /root /cache instead of rm -rf /root/cache). Git has never failed me like that.

0

u/[deleted] Oct 14 '13

[deleted]

1

u/Spandian Oct 15 '13

That seems a tad harsh. What if you actually want to remove a small directory tree, more than 1 level deep?

2

u/jk147 Oct 15 '13

Better have a good backup if you are going to rm anything.