Skip to content
DevMeme
1908 of 7663
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 6y

    bruh..

    1. @frayxrulez 6y

      piedini

  3. @RiedleroD 6y

    only a monster would do this

  4. @Mazmiy 6y

    What a fu**?

  5. @TERASKULL 6y

    It's not a bug, but a feature

    1. @Bender666 6y

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

      1. @TERASKULL 6y

        afaik the images are actually links with image previews.

        1. @Bender666 6y

          Thank you for explanation.

  6. @HolyReaper 6y

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

    1. @ipaal 6y

      3.9*

    2. @mikpskov 6y

      or 3.49999999999

  7. @sharp_mechanix 6y

    That was the guy who started on Pascal

  8. @skiqqy 6y

    No

  9. @sharp_mechanix 6y

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

    1. @AmindaEU 6y

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

      1. @sharp_mechanix 6y

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

        1. @AmindaEU 6y

          Thanks :)

          1. @sharp_mechanix 6y

            I may be wrong though, you better double-check

  10. @Daler_XYZ 6y

    It's a Web?

  11. @sharp_mechanix 6y

    And what I saw there is three spaces indentation

  12. @evilyach 6y

    Dank

  13. @UQuark 6y

    You're wrong

    1. @AmindaEU 6y

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

  14. @UQuark 6y

    Delphi has 3 spaces indentation

  15. @BigBlackMobile 6y

    Fuck you, leather man

  16. @sunnydaily 6y

    buddy you entered the wrong door

  17. @sunnydaily 6y

    russian community is two chats down

  18. @BigBlackMobile 6y

    Fisting for 300$

Use J and K for navigation