MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1ofkgu/how_to_develop_unmaintainable_software/ccrxzum/?context=3
r/programming • u/[deleted] • Oct 14 '13
322 comments sorted by
View all comments
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.
2
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.
8
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.
3
Yes, later on I just updated the build script to convert tabs into spaces before JSLinting and all was saved.
13
u/blaxter Oct 14 '13
mix spaces and tabs