3 ms·
« Some languages, like Go, have a built-in linter, which applies a universal style that’s been set by the language designers. That’s the most totalitarian appro
by thibaut_barrere 3y ago
« Some languages, like Go, have a built-in linter, which applies a universal style that’s been set by the language designers. That’s the most totalitarian approach. A decree on what a program should look like that’s barely two feet removed from a compile error. I don’t like that one bit.
It reminds me of Newspeak, the new INGSOC language from Orwell’s 1984. »
I do not like something hence it’s totalitarian and newspeak.
Excellent material for some courses on discourse analysis!
- leecommamichael 3y agoFormatters are an interesting topic in that sense. Anecdotally, I sense that they're usually introduced to stem debates about style. I think that's probably not a good enough reason for them to exist. There's a sensibility that says "debates about style are bad and wrong." Where is that coming from? Why is that opinion so pervasive?
- RangerScience 3y agoAFAIK, it's because they can easily become toxic and immensely time-consuming. Personally, I haven't seen that failure mode, although I also haven't been in a situation where it'd come up.
- thibaut_barrere 3y agoI don't know, but I must say that in Elixir, I really enjoy the built-in formatter (https://hexdocs.pm/mix/1.14/Mix.Tasks.Format.html https://hexdocs.pm/mix/1.14/Mix.Tasks.Format.html). It really is a non-event in most codebases I've worked with. Really happy that this exist and is a core aspect of the language now.
- wiseowise 3y agoMaybe because they’re unproductive, bring no value and generally a team drain because every special snowflake feels like their specific vision is the readable one?