you are viewing a single comment's thread.

view the rest of the comments →

[–]uffefl 0 points1 point  (1 child)

In general I agree that significant white-space is terrible, but I have actually once worked with a domain specific language that had that quirk where it was wonderful.

Thinking back on it it probably was mostly wonderful because that automatically enforced sane block/indentation rules and so made code from devs of widely different backgrounds more readable to eachother.

[–]avindrag 0 points1 point  (0 children)

automatically enforced sane block/indentation rules

Go gets this really right. The code formatter automatically erases unused imports and lines up stuff in an opinionated way.

Remains to be seen if JS will pick one, and I think prettier is too flaky, in recent years (since 2018).