Remix.run Logo
suzzer99 5 hours ago

2 spaces ftmfw. I want to see as much on the screen as possible. Horizontal scrolling is bad.

Who still uses 8? Isn't that like a COBOL thing?

fwipsy 4 hours ago | parent | next [-]

Linux kernel still uses 8 I believe. IIRC wide indentation+narrow pages were chosen partly to encourage using functions and avoiding deep nested logic.

https://www.kernel.org/doc/html/v4.10/process/coding-style.h...

fragmede 4 hours ago | parent | prev [-]

Let's compromise. What do you think of 3?

dotancohen 3 hours ago | parent | next [-]

I just recently read about something that requires - hard requirement - 3 spaces for indentation. Most likely read it here on HN. Makes me sick to even think about.

suzzer99 2 hours ago | parent | prev | next [-]

Authorities have been notified.

mystraline 3 hours ago | parent | prev [-]

Just add a few zero width spaces. It'll be FINEEEEE :D

https://en.wikipedia.org/wiki/Zero-width_space

Btw, at an old job, some joker developer added or copied 1, and broke the whole testbed. It was quite funny. I came over to the sourcecode hosted in Gitlab, ran my regexes that look for naughty characters. Found it after it ate the devs for half a day.