I switched to Rome (now Biome) after this debacle: https://github.com/prettier/prettier/issues/840
I switched to Rome (now Biome) after this debacle: https://github.com/prettier/prettier/issues/840
As to whether they do make obviously stupid choices - I personally don't mind any of their choices (even if I wouldn't have made the same choice myself), and I know I'm not alone in this position, which means that by definition they're not "obviously" stupid. You can disagree with the choices and the trade-offs, sure, that doesn't make it obviously stupid.
I also completely disagree with your reasoning above.
The fact that many people believe or do some thing does not mean that “by definition” that that thing is not obviously stupid. E.g., inhaling glue, smashing things with one’s head, “the secret”, mukbang videos… the list is nearly endless.
Finally, “the principle” behind Prettier is also flawed when taken to the extreme they do. Paraphrasing my final comment on the github issue,
> It can be used to defend literally any styling choices, even ones that deliberately misaligned conditional branches with others at its logical level (much like prettier already is doing on a small scale in the example I referenced).
> Yes human beings are adaptable, but some things are easier to adapt to than others. It's objectively easier to spell Spanish than English, for example. It pays off to have consistency at a deeper level than simply making the same idiosyncratic choices each time an identical situation comes up.
https://github.com/prettier/prettier/issues/840#issuecomment...
Consistency has more value than the subjective advantage of the proposal that you're comparing to the objective advantage of being phonetic. I think the prettier maintainers made the right choice.
Random user: Your software is unacceptable; add an option to my favorite subjective preference!
I wonder, are those people trolling?
Ultimately, the solution is to use Biome or another formatter instead, but many devs have Prettier forced on them at work.
What you don't do is insist the developer adds the option. Even if you feel like the developer is more approachable than your boss.
It’s a dishonest characterization of the issue thread to imply that it was its nature. People shared discussed the problem with the tool’s behavior, shared examples and motivations.
Prettier’s (IMO wrong) decision was theirs to make but the response was also gratuitously smug.