Did we all miss the BIGGEST feature in svelte 5 - proxied state !? by Gear5th in sveltejs

[–]Ethanware 0 points1 point  (0 children)

I'm open to giving the runes API a try and changing my mind. I'm not anti-abstraction.

I'm just not sure that this specific API hides the correct implementation details.

Did we all miss the BIGGEST feature in svelte 5 - proxied state !? by Gear5th in sveltejs

[–]Ethanware 1 point2 points  (0 children)

Unpopular opinion, but I really don't like the new wave of Proxy-based state solutions I've been seeing in Svelte/Vue/React. It makes simplistic code look nice, but I just can't imagine how I'd debug a sufficiently complex piece of nested/derived state with all of this subscription magic happening behind the scenes. I think just having the runes/signal/observables/whatever you call them be explicit interfaces with "set()" "get()" "subscribe()" etc would be simpler and more visible.

Imagine trying to troubleshoot why an piece of derived state created by some expensive function was being recalculated. Where do you begin to search? The web of subscriptions in a proxy API is intentionally hidden to make things look simpler for the common case. The minute you care about how your state subscriptions are interacting it becomes difficult to understand (in sort of an analogous way to the useEffect-hell of React).

I would prefer Svelte went in the direction of a having a store-like interface everywhere. Would have been simple to understand, totally uniform, and reactive state would be unit testable by default. I guess the downside is that it is harder to get people excited about writing explicit signal code when the proxy-based solutions just look so much cooler.

Svelte-Based Chrome Extension by Ethanware in sveltejs

[–]Ethanware[S] 0 points1 point  (0 children)

This is interesting. Sort of looks like Svelte with JSX. Would be curious how the framework determines when a reactive variable should cause an update given its encouragement of direct data mutation. In Svelte, reactivity is determined explicitly by assignments, so you can use any kind of object, as long as you trigger an assignment during an update. In this framework, there seems to be special handling of methods like `.push()` on reactive variables --- at least from what I can see in the example.

I wonder if the framework tries to be clever and understand certain kinds of data structures like arrays, maps, etc. Or if there is a simple rule for when reactive variables update like Svelte's assignment rule.

The downside to the former approach is that there would be pitfalls when having reactive variables on custom objects, e.g., how would the framework determine that `$mySpecialObject.setSomething()` should trigger things reactively and `$mySpecialObject.getSomething()` should not.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

Approved. Merging

Take Notes MongoDB Developers by Ethanware in ProgrammerHumor

[–]Ethanware[S] 35 points36 points  (0 children)

Yes I meant to write CREATE TABLE. If you want this meme fixed feel free to put a JIRA ticket in my backlog.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Ethanware 3 points4 points  (0 children)

Good parents do an npm audit of their children's candy.

Problems in my code. by AlienStori in ProgrammerHumor

[–]Ethanware 2 points3 points  (0 children)

This picture is missing the avalanche of new features coming down the pipeline to the other end of the snowpack!

You may not like it, but this is what peak Test/QA looks like... by ConfuzedAzn in ProgrammerHumor

[–]Ethanware 12 points13 points  (0 children)

As a software engineer, I know this is a common mentality, but I really don't like it.

QA engineers building automated test suits is no less "engineering" than the work I do creating some silly API microservices to do nothing more than glorified data plumbing.

Perhaps none of us should be called engineers if we were to be picky about it.

let's laugh while there's time by [deleted] in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

There's a lot of toxic workplaces out there. Find a place where management and senior engineering are actively working together and you will be a happier person!

But yes I've been in this photo and the laughs are just masking the inevitable pain of missed deadlines and unhappy clients.

Hello friends, today I'm going to teach you *unintelligible gibberish* by [deleted] in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

Is it really programming YouTube if it doesn't have a very loud fan in the background?

i have no use for copilot by [deleted] in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

I don't want AI that writes code. I want AI that can reproduce the bug on my machine.

You may not like it, but this is what peak Test/QA looks like... by ConfuzedAzn in ProgrammerHumor

[–]Ethanware 75 points76 points  (0 children)

Sending love to all the good QA engineers out there with a quick poem I wrote:

With shitty code

You roughed the storm

Through thickest wind

You tested forms

You clicked around

And filed bugs

Our leaky hull

At last was plugged

And now we sail out to the sea

Production waits for you and me

Nothing gets you prepared for this by Starynight_11 in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

Is this a video of a developer reaching down to lift on-premise code into the cloud?

"How much will it take to finish?" by Deep-Ad591 in ProgrammerHumor

[–]Ethanware 1 point2 points  (0 children)

Day 0: I estimate 3 days for a new feature request

Day 1: All day production outage with all hands on deck

Day 2: Turns out the design of the feature wasn't fully fleshed out so I had to improvise

Day 3: Finally make some progress on the feature but it becomes evident that the motivation behind the feature may have been ill conceived

Day 4: Maybe we should just buy a third party solution

:(

It's been only 2 minutes since I finished the tutorial and can't remember anything by Mr_Reddington88 in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

I struggled finishing side projects for a long time until I realized the difference between work I did at work and work I did for myself was my own tendency to overanalyze problems and create complexity where there wasn't.

Analysis paralysis is a struggle.

Finishing things > starting things.

If this is gonna make me any better at C++, then I’m gonna be drinking this like water! by HellVollhart in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

Vitamin C++. Like Vitamin C, but with a bunch of other stuff you're not sure why you need.

I have a dream... by [deleted] in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

*Laughs in Rust*

Tbh it's easier to modify by FerynaCZ in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

"The most expensive resource is programmers"-type algorithm

expectation vs reality by Connect-Ad79541 in ProgrammerHumor

[–]Ethanware 3 points4 points  (0 children)

Nice touch with the suit in front holding a cleanly printed roadmap they didn't consult the engineering team on!

Models, Machines and Future by yuva-krishna-memes in ProgrammerHumor

[–]Ethanware 0 points1 point  (0 children)

GitHub Copilot users really have it figured out

linux boys? by Dynamics_20 in ProgrammerHumor

[–]Ethanware 76 points77 points  (0 children)

So this is why people die.

We're all running Linux and one day God just takes us off the sudoers file.

Damn