in , , , ,

The seven deadly sins of programming

The seven deadly sins of programming | programming-memes, software-memes, code-memes, java-memes, program-memes, aws-memes, array-memes, c++-memes, list-memes, c-memes, cli-memes, IT-memes, idea-memes, ide-memes, mac-memes, language-memes, cs-memes, space-memes, tabs-memes, feature-memes | ProgrammerHumor.io
programming-memes, software-memes, code-memes, java-memes, program-memes, aws-memes, array-memes, c++-memes, list-memes, c-memes, cli-memes, IT-memes, idea-memes, ide-memes, mac-memes, language-memes, cs-memes, space-memes, tabs-memes, feature-memes | ProgrammerHumor.io

Content

What are the 7 deadly sins of programming? John Purcell, Creator of CaveOfProgramming.com Answered OCt 30 : Upvoted by Hasis A Munaimin, IOl participant 43, 44. 45, 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 auto-formatting. Forget all that tabsspaces rubbish, what’s wrong with you – auto-format your code and then people won’t have to look at your weird ideas about brackets and spaces. 4. Using IDEs, which have features such as auto-formatting 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. No-one wants to pay for all the time it’s going to take you to 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. It’s really important to learn the two absolute essential languages. You think Java is just as good? Fine, write me a real-time control system for racing cars in Java and I’ll 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 vou to create. 8. Overrunning the end of an array. 124.8k Views 3.448 Upvotes