Re:Help pick a syntax for CSS nesting
by Etheryte on Wednesday July 27, 2022 @05:59AM
(#32248604)
Perhaps I simply don't see the ambiguity after having used Scss, Less and the like for a long time, but isn't the simple `&` by far the best option here? The other two are absurdly verbose without offering any real benefit.
[ Parent
| on HN ]
The simple '&' requires infinite lookahead to parse.
Afaict the lookahead problem refers not to the proposals, but to a syntax without these extra markers altogether. Which is why all the proposals have some markers.
Re:Help pick a syntax for CSS nesting
by jimmaswell on Wednesday July 27, 2022 @07:06AM
(#32249023)
So what? That's a complete non-problem.