Code Styles as Mental Disorders
Code styles Allman while (x == y) { func1(); func2(); } Kernighan & Ritchie while (x == y) { func1(); func2(); } GNU while (x == y) { func1 (); func2 (); } Whitesmiths while (x == y) { func1(); func2(); } Mental disorders Horstmann while (x == y) { func1(); func2(); } Haskell style while (x == y) { func1() ; func2() ;} Ratliff style while (x == y) { func1(); func2(); } Lisp style while (x == y) { func1(); func2(); }
A chart compares several programming brace and indentation styles, grouping them under “Code styles” and “Mental disorders.” The joke exaggerates programmers’ strong opinions about formatting by treating less familiar styles as psychological conditions, making it useful as a reaction to code-style arguments.
- @gentoomemes / 3466 2023-03-29
- @profunctor_io / 8778 2023-03-29
- @pokupkabitka / 23789 2023-03-29
- @ithueti / 9136 2023-03-30
- @rzeczyzabawne / 7801 2023-04-01
- @eternalclassic / 30272 2023-04-01
- @dev_meme / 5246 2023-06-10
- @ithueti / 10108 2023-08-17
- @gentoomemes / 14737 2024-11-14
- Type
- image
- Size
- 680×383 · 39.4 KiB
- Mood
- sarcastic
- Language
- en
- Added