It's probably AI-supported slop.
zlatko
(Not to be confused with our premium product, ParticleServices, which just shoot neutrinos around one by one.)
You never review code when you have no time to do an actual review? Looks good to me :)
Is that pronounced as gokoze?
shaking my (trademark) head?
So, send'em a dicpic and you're in :)
considering where the garbage came from, maybe we should stop shitposting :)
(sorry for the late response, I have to get in the habit of checking my Lemmy account)
No, I get that - a stylesheet denotes a class by having a dot. A JavaScript API for adding a CSS class omits this redundancy.
I was saying that the author might not be wrong to want to avoid the redundancy in rust example as well (since it explicitly mentions CSS classes).
I mean, it is not embarrassing for you. In the browser, the CSS's "native platform", you add classes, via the JavaScript API, without the dot. It's not a stupid assumption.
To have to add the dot in the CSS class name seems a bit of an oversight in the gtkrs API.
Actual programmer
left-pad as a service.