Fede
banner
mzzf.bsky.social
Fede
@mzzf.bsky.social
señior FE - 10 yrs and counting at coding React stuff
That's not the same sort comparison at all lol. Regardless of which is better. The only thing that they share is maybe that one format and one framework did have momentum with companies that the others didn't.
January 12, 2025 at 2:49 PM
The fact that URLs are public is misunderstood as "public domain", that's maybe the root of the issue; once upon a time, it was the norm, then year by year it became an exception, but the mindset never really shifted
January 9, 2025 at 11:08 AM
Accessing an URL is definitely and should be free, there's no contract you're signing when reaching one. What you're served depends on a contract which are cookie banners and paywalls. We just haven't educated people on this. :P
January 9, 2025 at 11:07 AM
The web was born as a collection of accessible documents to researchers, so I wouldn't expect a public resource to be "monetized by default". I will pay (I'm paying, actually) for content that is not public, just clearly gate it. Paywalls and informed choices/cookiewalls are fine
January 9, 2025 at 10:57 AM
The thing about ads and data analytics is that you're not implicitly consenting into it when visiting an URL. I don't know if a link is leading my data to being exploited by a company. Nothing wrong with ethical use of ads, but put those behind an informed choice.
January 9, 2025 at 10:22 AM
"Just use 1Password" is unfortunately not what Apple and Google wants you to do, and is more of an issue with them than passkeys... It's maddening on Android and slightly better on iPhone. Past that, amazing.
December 30, 2024 at 12:35 PM
I'm also a fan of discriminated unions, but let me be real for a second, "you can't use an enum in place of another enum" is 100% the right call!

Rust has this right w/ newtypes. Say I have two types "kmh" and "mph", both numbers; I'd like for the software to yell at me if I confuse them around!
December 20, 2024 at 10:56 AM
We never acknowledge that self closing tags and boolean attributes are so very much cursed. ;)
December 20, 2024 at 10:44 AM
Ah very cool, haven't heard of HTM yet. Will do a deep dive, thanks! Reminds me of macros from Rust where they can't really do HTML nor JSX.

I feel that this is even more native than templating with a special grammar into HTML. DOM methods vs "a special grammar only this frameworks has".
December 20, 2024 at 1:43 AM
I was looking forward to novel ideas about that. I can't personally come up with a better idea to link native elements and JavaScript than a variable passed in. ^^

I took them for granted as JSX and templates are declarative by nature. Vue does "magic attributes" that look confusing at first.
December 20, 2024 at 1:16 AM
Maybe so, other frameworks definitely improved on it. How would you approach something like refs anyway?
December 20, 2024 at 1:07 AM
And much of the stuff that you find weird in React stems from having the template straight into the JavaScript unlike most other JavaScript frameworks. Compilers weren't a thing. They had to work around JavaScript keywords. It's not a bug as much as very naive assumptions and relics of eld. :)
December 20, 2024 at 12:56 AM
That's the only way, the ref is there so you can access elements, there's no other sanctioned way to access elements without them (or events). :)

Normally React handles elements for you, so that's why they came up with those. Personally I'm unsure how to improve on that myself.
December 20, 2024 at 12:53 AM
Weird, I do remember old docs mentioning that as a use case and in general presenting the refs as the escape hatch of React to integrate all sorts of stuff straight in.
December 20, 2024 at 12:33 AM
Extra: good thing: if you're the lady in Psycho, you are hearing the killer coming in
December 19, 2024 at 9:57 AM
Fuck the “everybody steals” argument.
December 15, 2024 at 2:25 PM
Yeah. But I definitely hope for a 2025 with better managers. :)
December 12, 2024 at 1:18 PM
The only thing Devin produced is hilarity and paid articles on sites like Forbes. So, good luck?
December 12, 2024 at 12:40 PM
Even worse, exposing kids to grifters who mock actual experts.
December 10, 2024 at 12:05 PM
Highly recommend 13 Sentinels! I went in blind, and it was a wild ride.
December 8, 2024 at 12:13 AM
"Of Perth’s 4.2 million daily car trips, 2.8 million are for distances of less than 2km."

That's really dumb. I used to walk a little less than that to commute before going remote.
December 1, 2024 at 2:29 AM
My entire career stems from having read Atomic Design at university more than 10 years ago. Thanks! 😄
November 28, 2024 at 2:32 PM