this post was submitted on 03 Feb 2024
482 points (94.1% liked)

Programmer Humor

32078 readers
289 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tsonfeir@lemm.ee 13 points 7 months ago (1 children)

There are a lot of standard practices like… using a router to load the content of your SPA according to the url.

[–] grue@lemmy.world -1 points 7 months ago* (last edited 7 months ago) (1 children)

What I'm saying is, there's no right way to build a thing that is inherently wrong.

[–] tsonfeir@lemm.ee 6 points 7 months ago* (last edited 7 months ago) (1 children)

You could build it with no input sanitation. That’s wrong.

[–] grue@lemmy.world -5 points 7 months ago (1 children)

Even a perfectly-built SPA is a thing that should've been a different kind of program (a native app or even something like Java Web Start) instead.

[–] tsonfeir@lemm.ee 15 points 7 months ago (1 children)

I strongly disagree, but I respect your opinion which was no doubt formed by different experiences with web technologies than I’ve had.

[–] intensely_human@lemm.ee 1 points 7 months ago (1 children)

Not that it’s inherently good or bad, but the heavier web apps get the more a browser represents a sort of virtualization environment that only runs one stack. I think that’s interesting.

[–] tsonfeir@lemm.ee 1 points 7 months ago

What do you mean only runs one stack? Like front end framework? That would be the point. But it can communicate with any backend.