Hacker News new | past | comments | ask | show | jobs | submit login

I can kind of understand it. If it's a first class part of the language, then it's never going to get painted into an ugly corner.

As a nearly related example, the LESS css pre-processor language was developed prior to `calc()` expressions. As a result, the LESS language parses arithmetic expressions. So `calc(10em + 10px)` compiles to `calc(20em)`. So in order to do `calc()` expressions, you have to use nasty hacks like `calc(10em ~"+" 10px)`. If LESS "shipped" with CSS, this wouldn't have happened.




I see your point. I think that's a little apples-to-oranges because LESS transpiled to CSS - it wasn't a formatter for CSS.


In the analogy, there may be a new language feature that breaks assumptions made by a 3rd party code formatter.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: