icesentry

joined 2 years ago
[–] icesentry@programming.dev 2 points 11 months ago (1 children)

Now I'm just curious if that was intentional.

[–] icesentry@programming.dev 1 points 2 years ago

You don't need different beans for espresso.

[–] icesentry@programming.dev 7 points 2 years ago (5 children)

The fact that it's horrifying doesn't change the fact that it's not related to their looks.

[–] icesentry@programming.dev 19 points 2 years ago (1 children)

I'm honestly surprised that someone that spends enough time on the internet to end up on lemmy doesn't know about ACAB.

[–] icesentry@programming.dev 5 points 2 years ago

The only reason I would switch is if the projects I contribute too would switch. I personally don't care.

[–] icesentry@programming.dev 1 points 2 years ago

I mean, I get what you're saying but with rust all that js code is auto generated and you can make a full app without writing a single line of js yourself.

[–] icesentry@programming.dev 1 points 2 years ago

How is it extra effort? It's just a comment instead of inline types. It's not like going from no types to types everywhere.

[–] icesentry@programming.dev 1 points 2 years ago (1 children)

That's litterally less step. It's just a comment above a function. How is that more steps?

I mean, don't get me wrong, I don't mind build step but this is objectively less steps.

[–] icesentry@programming.dev 1 points 2 years ago (5 children)

If you want type safety and no build step you do like svelte did and use jsdoc instead. You can run the typescript type checker on those annotations so if you care about not having a build step you can still have type safety.

[–] icesentry@programming.dev 1 points 2 years ago (6 children)

That's actually a myth and real world performance isn't affected by this. See this video from leptos creator which is one of the more popular wasm ui framework https://youtu.be/4KtotxNAwME?si=D_vWV1LPQI-C9j8G

The biggest issue is actually the size of the payload since you need to ship the entire app and language runtime.

[–] icesentry@programming.dev 3 points 2 years ago

That description also makes it feel like it could be used like a leaner electron

[–] icesentry@programming.dev 2 points 2 years ago

The main issue is that frontend is complicated and it can do a lot of very different things. Frameworks exist to solve some issues that may or may not exist in your project.

view more: next ›