this post was submitted on 27 Sep 2023
319 points (93.7% liked)

Programmer Humor

32479 readers
311 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
[–] lemmy_st3v3@lemmy.world 38 points 1 year ago (14 children)

Well, I have worked with two of them React and Angular. Now working with React. And the further the project goes, things just get messy, and I mean really messy. The concept of everything should be a small function is in practice not true. No dependency injection(I know you can bolt another library on top of it, but really?). The testing is a pain, it gets harder and harder to test isolated functions. Custom tags, attributes that look like the standards that are documented at MDN but are not. And most info I can find online feels like elaborate propaganda. I mean there is just nothing against React to be found, really nothing. That's just not possible in IT.

[–] azezeB@discuss.tchncs.de 2 points 1 year ago (9 children)

Thank you for the explanation, so do you think angular is better? I want to start doing front-end and I don't know what to pick

[–] pm_me_your_quackers@lemmy.world 3 points 1 year ago (2 children)

Doesn't matter what an internet rando thinks, there are more React jobs at the moment. I've only seen Angular used by large enterprises for internal BI apps, which are harder jobs to get.

[–] azezeB@discuss.tchncs.de 2 points 1 year ago (1 children)

Yeah I'm not basing a life choice on a rando, but it can help to hear his motivations. Once I have that I can draw my conclusions.

Thanks for your input too.

[–] pm_me_your_quackers@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Honestly, easiest to learn is probably React. That + market share would make me learn that first. Newer frameworks tend to base what they do with ergonomics from React. Even my favorite (at the moment) frontend library, SolidJS, has all their tutorials with references to how you do things in React, and how similar signals work with Solid. Learning Vue, Svelte, all have the same issue; they compare themselves to React to show you how they do things with their library. And it makes sense, for better-or-worse.

load more comments (6 replies)
load more comments (10 replies)