[text] What are the 7 deadly sins of programming John Purcell Creator of CaveOfProgramming.com Answered Oct 30 Upvoted by Hasib Al Muhaimin 101 participant 13 4 15 ACM ICPC World Finalist 2016 and Jessica Su CS PhD student at Stanford 1. Using spaces instead of tabs. You should always always use tabs not spaces. 2. Using tabs instead of spaces. You should always always use spaces. 3. Not using autoformatting. Forget all that tabsspaces rubbish whats wrong with you autoformat your code and then people wont have to look at your weird ideas about brackets and spaces. 4. Using IDEs which have features such as autoformatting and nicely coloured buttons. All code should be written in vi or Emacs thus ensuring the purity of the programming experience. 5. Not using IDEs. Noone wants to pay for all the time its going to take youto type things that you could have done at the click of a button or scroll up and down using some ridiculous key combination invoked using LISP. 6. Failing to learn C and C. Is really important to learn the two. absolute essential languages. You think Java is just as good Fine write me a realtime control system for racing cars in Java and Ill believe you. 7. Learning C or C when you could be using something modern like Java instead. Admit it all your schedules involving C or C overrun by five years. And even then the software turns out to have critical flaws that Java would not even have allowed you to create. 8. Overrunning the end of an array. 124.8k Views 3448 Upvotes
in Backend, Cloud, Java, Linux, Programming