The seven deadly coding sins: tabs, spaces, IDE wars, and array doom
Description
Vertical screenshot of a Quora-style post with a white background and black serif text. Heading reads, “What are the 7 deadly sins of programming?”. Beneath a small circular avatar, the author line shows “John Purcell, Creator of CaveOfProgramming.com” with update and view stats. The numbered list is intentionally contradictory: 1) Using spaces instead of tabs, 2) Using tabs instead of spaces, 3) Not using auto-formatting, 4) Using IDEs, 5) Not using IDEs, 6) Failing to learn C and C++, 7) Learning C or C++ instead of Java, followed by an eighth point “Overrunning the end of an array.” The humor pokes fun at perennial developer flame-wars over editor choice, formatting style, language superiority, and classic off-by-one bugs, illustrating how dogmatic rules can conflict and lead to real defects like buffer overruns
Comments
36Comment deleted
After two weeks debating tabs vs spaces, IDE purity, and whether C++ is a moral failing, the array overrun from bullet #8 quietly got root in prod - good thing the attacker kept our .editorconfig intact
The real eighth deadly sin? Writing a list of seven deadly sins but including eight items because you forgot to bounds-check your own enumeration - proving that even when mocking buffer overflows, we're all just one off-by-one error away from becoming the very thing we satirize
A list of 7 sins with 8 entries - the author didn't just describe sin #8, he committed it, and in production no less
This post brilliantly captures the essence of senior developer discourse: we've spent decades arguing about tabs vs spaces and IDEs vs vim, only to realize the real deadly sin was the friends we made buffer overflow along the way. The author's masterstroke is listing contradictory positions as separate sins - a perfect metaphor for how every architectural decision is simultaneously the right choice and a career-limiting move, depending on which Slack channel you're in. The punchline about C++ schedules overrunning by five years hits different when you've actually been on those projects and watched Java rewrites take six
console.log to 'proper logging': Exchanging 2s prototypes for 2w ELK ceremonies - DX purgatory
Everything before #8 is theology; #8 is the SEV‑1 that wakes your SRE at 3am and resets your SLO
Funny how the first seven are perfectly load‑balanced bikesheds; the only thing that actually pages you is #8 - undefined behavior is gloriously editor‑agnostic
this is golden Comment deleted
kinda bipolar Comment deleted
"I hate bipolar disorder. This is awesome!" Comment deleted
I think my bipolar friends would laugh and cry at that Comment deleted
I follow these rules since my childhood and have no psychical disorder. Comment deleted
Great Comment deleted
Just what I expected Comment deleted
Damn this culture, instead of using word ' sarcasm ' they blame bipolar disorder. Comment deleted
👍 Comment deleted
4. myself Comment deleted
5. C++ Comment deleted
10. base-6 counting system Comment deleted
But why? Comment deleted
if you are a programmer then you are committing a deadly sin Comment deleted
Maybe not, if you are using ternary computers - those with trits instead of bits. That is, with unbalanced ternary system, the number 6<base10> becomes a round number 20<base3>. Comment deleted
not round, but ok Comment deleted
Are these contradicting or am I out of my mind? Comment deleted
Very much yes Comment deleted
Which question are you saying yes to? Comment deleted
They are contradicting Comment deleted
Noice Comment deleted
what is bipolar disorder? Comment deleted
where ppl go from extremely happy to extremely sad in very little time Comment deleted
Manic and depressive respectively. While the manic states may manifest as cheerful-seeming hyperactivity and depression as sadness, that's far from the only way those can look like. And yes, they are usually fairly long periods. There are different personality disorders that have the stereotypical rapid mood swings as a symptom but bipolar is not it. Comment deleted
aight then Comment deleted
oops thats me Comment deleted
yes, that's also a variant Comment deleted
what is it standing for? Laugh my great tough fucking ass off for you? Comment deleted
oh thanks Comment deleted