Skip to content
DevMeme
1908 of 7590
Configuration Post #2118 · source on Telegram

Three Spaces Of Formatting Chaos

Description

A dark-themed code editor shows a `.prettierrc` file with a breadcrumb-like header reading ".prettierrc > # tabWidth". The visible JSON-like configuration spans three lines: line 1 has `{`, line 2 has `"tabWidth": 3`, and line 3 has `}`. The humor is that Prettier and similar formatters are meant to end style arguments, but setting indentation to three spaces creates a new kind of formatting provocation between the usual two-space and four-space camps. It is a compact joke about configuration, code style enforcement, and developer tribalism over whitespace.

Comments

29
Anonymous ★ Top Pick Two-space and four-space teams spent years arguing, then someone shipped an odd number and invalidated the whole RFC.
  1. Anonymous ★ Top Pick

    Two-space and four-space teams spent years arguing, then someone shipped an odd number and invalidated the whole RFC.

  2. @melanzan 5y

    bruh..

    1. @frayxrulez 5y

      piedini

  3. @RiedleroD 5y

    only a monster would do this

  4. @Mazmiy 5y

    What a fu**?

  5. @TERASKULL 5y

    It's not a bug, but a feature

    1. @Bender666 5y

      How those posts are made? First text and after that a photo?

      1. @TERASKULL 5y

        afaik the images are actually links with image previews.

        1. @Bender666 5y

          Thank you for explanation.

  6. @HolyReaper 5y

    I wish someday I can make kind of tabWidth = 3.5 :D

    1. @ipaal 5y

      3.9*

    2. @mikpskov 5y

      or 3.49999999999

  7. @sharp_mechanix 5y

    That was the guy who started on Pascal

  8. @skiqqy 5y

    No

  9. @sharp_mechanix 5y

    As far as i can remember, there was a convention to use 3 spaces as indentation

    1. @AmindaEU 5y

      Where is 3 used? I remember only seeing 2 and 4 around

      1. @sharp_mechanix 5y

        In Pascal/Delphi I don't code on those, but started from Pascal back in the day

        1. @AmindaEU 5y

          Thanks :)

          1. @sharp_mechanix 5y

            I may be wrong though, you better double-check

  10. @Daler_XYZ 5y

    It's a Web?

  11. @sharp_mechanix 5y

    And what I saw there is three spaces indentation

  12. @evilyach 5y

    Dank

  13. @UQuark 5y

    You're wrong

    1. @AmindaEU 5y

      How does one become a psychopath then? I am not sure if I want to though

  14. @UQuark 5y

    Delphi has 3 spaces indentation

  15. @BigBlackMobile 5y

    Fuck you, leather man

  16. @sunnydaily 5y

    buddy you entered the wrong door

  17. @sunnydaily 5y

    russian community is two chats down

  18. @BigBlackMobile 5y

    Fisting for 300$

Use J and K for navigation