News for hackers. Stuff that matters.
Re:The Future of CSS by afavour on Wednesday October 21, 2026 @08:56AM (#50180127)
But it isn’t? The functions discussed in the article are not connected to JS at all.
Re:The Future of CSS by Izkata on Wednesday October 21, 2026 @12:59PM (#50184155)
As someone mentioned above, it probably would have been better if they weren't called functions. Macros, maybe.

Also the blog really doesn't help by describing it like this:

> If you’re familiar with JavaScript, this should feel pretty familiar. We define new functions with @function and specify the returned value with result.

Re:The Future of CSS by kdkwmdowmxks on Wednesday October 21, 2026 @02:37PM (#50185530)
So this is a semantics complaint? Man, developers are so anal about everything.