this post was submitted on 30 Oct 2023
976 points (96.1% liked)

Programmer Humor

31230 readers
361 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pixxelkick 66 points 8 months ago (9 children)

It's hard to justify using anything other than JS or if you wanna be fancy, Web Assbly, for the FE.

Any other front end language involves generating Javascript from your language, which inevitably ends up with you making a weird Frankenstein project that mixes the two.

I'd rather just use stuff like Webpack or Vite to compile my JS front-end out of JS (or TS) from the start. It always ends up being a cleaner result.

My backend though can be whatever the fuck I want it to be.

But if you ever think dynamically compiling/transpiling a JS front end on the fly on demand is a good idea, instead of simply just delivering static pre-compiled/transpiled pages, you're part of the problem for why the web is so slow and bloated.

It's wild how crazy of projects people will build that take 3 entire seconds to just deliver a 500kb static form that doesn't even need angular to do anything. They turn a couple hundred kb into several mb for no useful reason, it's wild.

[–] [email protected] 17 points 8 months ago (1 children)

On that last bit. I agree with you, but people are getting paid to produce, and since they probably just know angular, they use angular everywhere.

[–] pixxelkick 17 points 8 months ago (1 children)

I prefer html personally :x

But yeah, I mostly blame the project managers that encourage this behavior, it's wild how much overengineering goes into basic stuff like making mostly static websites.

[–] [email protected] 7 points 8 months ago

Same, plain old HTML, and if I need some reactivity then Stimulus. And if need even more reactivity, then VueJS / Alpine. If the form can't be submitted via a regular submit button, it infuriates me.

load more comments (7 replies)