Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Looks like CSS is becoming a viable alternative to JS...
.
.
.
.
.
... for making websites slow. -
@Nicci no, no let's not give them the benefit of the doubt about knowing this can be efficient. Pseudo code is far more appropriate.
-
@ganjaman I didn't say that, but these suggestions for CSS look really pythonic in form, no? Plus, use python most of the time so I'm not trying to speak for any perspective but my own
-
Brolls31156yThe sooner we get away from needing post-processors that rely on the bloat that is node and npm the better.
-
@noobrants these are pretty standard names for maths functions and most trace their heritage from C's standard maths library.
(If C's library is derived from something else, probably is, I wouldn't know, that's about as far as my knowledge goes) -
fuckwit12166y@Nicci the array allocation is killing the performance if you were to write this in julia
-
Wack61916yCalc is there for quite some time and is actually usfull. The others I can imagine to be usefull for transitions/animations.
@frickerg it's actually in the block/layout specification but not implemented by browsers yet. (Not a center float, as that wouldn't make any sense, but the align/justify properties that flexbox and grid has are specified also for block, inline-block and inline elements... -
@RememberMe that's fair enough, I'm not saying Python's the only language with math functions, just that the list above reminds me of python's math functions.
-
stisch46036yIts interesting... these functions will make a lot of fancy animations and effects easy to build. That said, there are so many choices that already offer the things I would build with this.
-
devTea219103y@mundo03 now I’m afraid that parent selector will create more spaghetti code. Depends on the dev I guess, there is time where I need to use it like twice a year maybe
-
mundo0349113y@devTea I need it for adblocking :D
ABP sintax on ABP has some pseudo selectors like if :has() but it is still not to find parents -
Looks like CSS is becoming a viable alternative to JS...
.
.
.
.
.
... for me to poop on.
Related Rants
What do you think about this news?
rant
maths
css