CutCodeDown
Web Development => HTML / CSS => Topic started by: Gary-SC on 15 Jan 2022, 07:34:48 pm
-
I came across "CSS Houdini" the other day as I read through the MDN Web Docs site:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Houdini
Does anyone here have any thoughts on it? Is it a good idea or a bullcrap idea to accommodate incompetent? Or just new and different?
-
Hi there Gary-SC,
there may be some merit in the...
Basic example (https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Houdini#basic_example)
...but as a totally insignificant coder I, personally, would
very rarely feel a need to make use of it. ::)
Perhaps one of our professional coders here may offer
you some more profound reasons for employing it. ;)
coothead
-
I think I can hear Jasons response from here, but I look forward to his actual rant and will the popcorn at the ready!
-
It's typecasting for custom properties. Much like with what typescript tries to do for JavaScript it just makes you type more, using a more cryptic syntax, in an attempt to make the basic language into something it is not.
And much like Typescript, if you can't keep track of the usage of your "variables", you're either using too much code, or haven't mastered the most basic of concepts.