this post was submitted on 26 Apr 2024
2 points (100.0% liked)

Programmer Humor

34912 readers
115 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 11 months ago (2 children)

Made the mistake of using react for a mobile app and my god why is it this convoluted, why are the error messages always along the lines of "something went wrong with networking ๐Ÿคท"

Unfortunately I'm stuck with it now

[โ€“] [email protected] 1 points 11 months ago (1 children)

Linux has better error messages. "Dazed and confused, but trying to continue".

[โ€“] [email protected] 1 points 11 months ago

I am spoiled by dotnet and rust error messages. They tell you exactly what the problem is, where it is, and in rust's case sometimes even how to fix it

Then there's C with "segmentation fault"

[โ€“] [email protected] 1 points 11 months ago (1 children)

react is better than the days when we jquery everything

[โ€“] [email protected] 1 points 11 months ago (2 children)

Am I the only one left writing pure JS webpages? I swear for the stuff I've done recently, adding React or even jQuery makes things 10x more complicated and bloated. The base JS support browsers have now is actually great. It's not like the old days trying to support every browser back to IE6

[โ€“] [email protected] 1 points 11 months ago

When you are writing some complex web app, you will wish you used a framework. Some web apps can have more than 50 pages with multiple states that depend on remote data to be locally cached and synced depending if you are online/offline. Framework can handle a lot of the heavy state management for you and even provide a nice UI component library. But I do agree that React is too much, but jQuery is being replaced by vanilla JS. That is why I usually use Vue. But for simple stuff, yes, Vanilla JS is pretty much good enough

[โ€“] [email protected] 1 points 11 months ago (1 children)

I like base JS and I like jQuery. Only reason I'm using React is for native cross platform mobile/web but I'm beginning to regret choosing it for that

[โ€“] [email protected] 1 points 11 months ago

I assume you mean react native, not react, unless you're using something like capacitor. React native is a far shot from react and is much more annoying to deal with.

[โ€“] [email protected] 1 points 11 months ago (1 children)
[โ€“] [email protected] 1 points 11 months ago (1 children)

I don't know how to React to this.

[โ€“] [email protected] 2 points 11 months ago (1 children)
[โ€“] [email protected] 2 points 11 months ago (1 children)

I think we all just need a different, Angular approach

[โ€“] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)
[โ€“] [email protected] 1 points 11 months ago (1 children)

You might say he was very svelte

[โ€“] [email protected] 1 points 11 months ago

He certainly has a qwik thinking