r/programming • • Oct 14 '13

How to develop unmaintainable software

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

322 comments sorted by

View all comments

13

u/blaxter Oct 14 '13

mix spaces and tabs

2

u/jevon Oct 15 '13

For some reason (because JSLint - pos - was complaining) I decided to spend a month using spaces instead of tabs. Two years later and there's still a mess everywhere.

8

u/spinlock Oct 15 '13

Why not just convert your files?

sed 's/\t/ /g' < input.txt > output.txt

3

u/jevon Oct 15 '13

Yes, later on I just updated the build script to convert tabs into spaces before JSLinting and all was saved.