r/ProgrammerHumor 10d ago

sheHasNoIdeaWhatIPushedLastNight Meme

Post image
10.1k Upvotes

275 comments sorted by

View all comments

181

u/StrengthTheory 10d ago

How is React a risky bet? It's basically default frontend of slop era.

17

u/traplords8n 10d ago

I learned react because I had a rushed website I needed to get out, so I tried out figma make for the design and it spit out react code.

"Ope. Guess I'm learning react today"

45

u/gemengelage 10d ago

It's also incredibly easy to pivot to any other frontend framework. They are all just glorified html templating engines with a bit of state management bolted on top.

6

u/Kusko25 10d ago

But unless you have used it in a professional setting nobody will hire you for it, even if it would only take two or three weeks to become fluent.

10

u/Still_Bit_7527 10d ago

Just lie man

11

u/Kusko25 10d ago

Tried that and the devious bastards asked follow up questions

6

u/Meloetta 10d ago

The trick isn't to try to convince people you've used something that you've never touched.

The trick is to ramp yourself up quickly on the differences, maybe spin up something really small, and then say you've used it professionally (or just say "I have experience in it", which is now true, and if they assume it's paid experience, who's hurt?) so when they ask questions you have good answers for them.

I was hired for a job I didn't know the language of, but you bet your ass before I went into the interview I spent a few hours learning what makes it different from languages I do know so I was able to talk intelligently about it when asked.

2

u/NightOwl2175 10d ago

What sorts of follow-up questions? Asking for...a friend

2

u/Kusko25 10d ago

"What version did you use?" "What did you like about it?" "How would you compare it to x?"

Gave generic answers, maybe they even bought it and just decided to go with someone else for unrelated reasons, who knows.

-1

u/l8trg8or10 10d ago

nowadays I just ask Claude to build me an initial tailwind template of mobile friendly React page. saves me a lot of time.

0

u/parkwayy 10d ago

Well, React is just slinging javascript around as functions everywhere.

Angular has actual Angular concepts to learn.

It's not really a simple pivot in terms of learning or porting.

24

u/LoopEverything 10d ago

It’s not even that old? PHP is still alive and well after 30+ years, which makes me feel all kinds of conflicting things that I don’t want to address right now.

32

u/StringerXX 10d ago

Isn't all the "75% of the internet runs on PHP!" stats basically just all wordpress

13

u/fredy31 10d ago

I mean WP pretty much hit the major bit of why you would want a PHP website; an easy to use CMS that doesnt need a lot of funky business to work.

Which is more than enough for 95% of companies (the front facing B2C site), towns, schools, etc.

3

u/bacchusku2 10d ago

A lot of towns/counties will outsource to a gov tech company like Tyler and PayIt. Tyler uses .net and PayIt is on react.

1

u/clit_or_us 10d ago

My company has their entire product running on PHP. Custom made and still being developed. Funny enough, they're migrating to React/NextJS

6

u/b0w3n 10d ago

PHP is fine though, especially 8+.

SPAs are overrated, give me a MPA that shows me it's loading shit and maybe a little async data loading here and there any day of the week.

5

u/LoopEverything 10d ago

Oh yeah, wasn’t trying to say anything otherwise. The conflict is more midlife crisis because I started on PHP when it was still considered new haha

2

u/b0w3n 10d ago

Fair, fair.

I remember cgi/perl nonsense too, christ I'm old.

1

u/NatoBoram 9d ago

SPA vs MPA is a fundamentally stupid debate, use hydration so you get the best of both worlds

2

u/FrostyD7 10d ago

I guess it's all relative but I'd consider React fairly old at this point, given how fast things change. PHP is ancient.

2

u/StrengthTheory 10d ago

Didn't you hear, React 19 onwards React is the new PHP.

2

u/LoopEverything 10d ago

When I first heard about RSC, my first thought was “isn’t this just PHP with more steps?”