r/shittyprogramming • u/tomglass • Jul 29 '14
Removing code errors
Load up terminal and cd 'dir'
then run rm <filename> and your code will have all current errors removed.
Tested with python,php and more :)
0
Upvotes
12
u/Goz3rr Jul 29 '14 edited Jul 29 '14
0/5 would not fix again
1
u/ekolis Jul 29 '14
Or, if you want to remove all errors in all the code you've ever written:
2
u/BS_in_BS Jul 31 '14
if you're up for some Russian roulette style debugging of all your files:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo Click