this post was submitted on 26 Apr 2024
454 points (96.7% liked)

Programmer Humor

32591 readers
934 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
[–] NewDark@hexbear.net 33 points 7 months ago (4 children)

Try writing your backend with browser limitations and see what kind of wild wrappers you make to keep yourself sane.

[–] xmunk@sh.itjust.works 15 points 7 months ago (1 children)

I remember the day of php files outputting html to the browser... it was 95% as functional as the stuff written in react and node today and incredibly simple.

Heck, at my company, I still sneak in old-school HTML files when I can.

[–] OpenStars@discuss.online 1 points 7 months ago

I am starting to come around if not to the horrible solutions then at least the shift in thinking that made people consider using those, over the old-school approach.

Back then, the internet was this cool new thing. Fast-forward to today, and all those old pages with broken links, outdated information, and outdated presentation of information, can be problematic. e.g., should a site show an email address, or a phone number, or will doing so allow it to be spammed by bots? (except: that will happen anyway, no matter what, and why prevent people who have legitimate needs to find information?)

Back then, people had actual attention spans, and finding new information was cool, so when people saw it, they gobbled it up and relished the chance to do so. Fast-forward to today though, and there is so much more information (& unfortunately misinformation, plus active disinformation too) than could ever hope to be read, much less absorbed and/or retained, that the default is to skim or skip rather than actually "read", e.g. a ToS/ToC that is mandatory to continue with a service that you use literally daily.

So, I am not advocating for e.g. CSS, or React/Angular, etc., but I at least see why people were considering those options, b/c there were problems with the old approach too.

[–] notquitetitan@sh.itjust.works 4 points 7 months ago

You mean NodeJS lol

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

ServiceWorkers?

[–] hector@sh.itjust.works 0 points 7 months ago

What are limitations of browser for backend?