div { display: grid; place-content: center; }We’ve come a long way…
Obligatory https://justfuckingusehtml.com/
JavaScript frameworks are invented because pure HTML and CSS suck for dynamically loaded pages, and vanilla JavaScript suck in general.
Dynamically loading pages suck too.
Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!
Eww Rust! I hate memory safe languages, I love torturing myself with C
You can wrap everything in unsafe and keep living dangerously!
unsafedoesn’t deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.I know, but it does let you sled off a cliff if you choose to.
Tsoding has created a few rules for writing Rust to make Rust “fun” to program in, and gave them the name of Crust.
Here is the rule set (it may change over time):
- Every function is unsafe.
- No references, only pointers.
- No cargo, build with rustc directly.
- No std, but libc is allowed.
- Only Edition 2021.
- All user structs and enums #[derive(Clone, Copy)].
- Everything is pub by default.
If you ever want to try this out for some ungodly reason, there’s a GitHub repository with an example Main that shows how to use libc and other libraries (in the example, it’s raylib), and with a Makefile showing how to compile your projects (remember we aren’t using
cargo).Oh boy, now I can stop missing C++
Yew* Rust
FTFY
Nah, they had it right
Knew someone would say that, lol, gold project, sad that it’s gone unmaintained and my man started working on home-manager at home
…wait
Yeah I gotta get my workplace to get on board with it. Rust->Webasm is simply amazing
Flutter like a butterfly, sting like a Dart.
Men really out here inventing entire JavaScript engines so they don’t have to learn Rust/C/C++/whatever
Meanwhile women are hand-coding in assembly, like God intended.
OP, I don’t think you’ve correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.
got it, my bad
Wait until you see what they do to avoid learning SQL or Regex or JSON Pointer or XPath.
Ugh, i’ve had to write some Selenium tests where I had to come up with weird ass Xpaths because not a single fucking element had an ID and over half would spawn something in a different div
I was so pleased when a brief for a thing at work was “no frameworks”.
real ones learn dhtml
Do you remember the dhtmlguru? The site had the bronze man holding some kind of ball over his head and would magically move when you hovered over the navigation menu.
React sucks and is way way way overdone and ill die on that hill
Damn that’s some spicy takes lol.
Wait till you see what they do for a bit of concurrency













