this post was submitted on 21 Aug 2023
991 points (98.2% liked)

Programmer Humor

19187 readers
1169 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

There are plenty of Python libraries that are similar complexity to React, and not just for web development. Huge frameworks aren't unique to JS, but depending on your background you can totally "learn" how to use them in two days, at least at a base level while you google how to do everything else (but let's be honest, we're doing that ten years in too lol).

But my point was more that gatekeeping "learning" a new tool isn't really a conversation you can win, because when do you actually consider it "learned"?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

How do you know what is similar in complexity to React? As far as I can tell you aren't familiar with it.

at least at a base level while you google how to do everything else

Ah, there's the problem. Your definition of learning doesn't include having an appropriate mental model, which is key to actually retaining and internalizing the way it works. I don't think it's unreasonable to say that is a prerequisite for claiming to have "learned" something like a language or framework.

[–] [email protected] 0 points 1 year ago (1 children)

Your definition of learning doesn't include having an appropriate mental model, which is key to actually retaining and internalizing the way it works.

Glossing over the pretentiousness of your comment, this is not quantifiable. When do you consider someone's "mental model" "appropriate"? You can form a mental model in two days, and that mental model can evolve. This is how learning works.

[–] [email protected] 3 points 1 year ago (2 children)

Glossing over the pretentiousness of your comment

And your stance of "I can learn x in two days, so how can people say it takes longer to learn y" isn't pretentious?

When do you consider someone's "mental model" "appropriate"?

"appropriate" isn't a quantification of the mental model in itself, I am using the word as "having a mental model that is appropriate to the thing being learned". A different mental model is required for React than working with vanilla JS and manipulating the DOM directly, so the mental model for one isn't appropriate for the other.

And yes, a mental model is quantifiable, to the extent that it accurately predicts what consequences design and implementation decisions may have on the behavior of the system.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

And your stance of "I can learn x in two days, so how can people say it takes longer to learn y" isn't pretentious?

Yeah, I never once said anything close to that. I'm simply stating that considering something "learned" is subjective. Get this strawman shit out of here.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I have nearly a decades experience and react can definitely be learnt in a few days. I say maybe 5-6 on average if you dedicate yourself to it and have a good chunk of development experience already under your belt. My 18 year old apprentice had it mostly down by the end of an afternoon. Although he is exceptionally talented.

[–] [email protected] 1 points 1 year ago (1 children)

I think there's a pretty significant difference between a week and 2 days in terms of how much time you had to solidify your understanding.

I also didn't take that long to pick up the basics, but I could not say that I understood hooks within the first two days of working with React. There are just so many small details and limitations that can catch you by surprise if you don't know why hooks work the way they do, same with the lifecycle of a component and what triggers a re-render. That does take a few days to fully understand in a way that you can utilize moving forward.

It's possible that I had a harder time because I was used to manipulating the DOM directly, and so managing all updates through state changes and being strongly discouraged from directly referencing UI elements felt very foreign to me. I don't think that my stance would change if I had a different experience in the beginning though.

[–] [email protected] -1 points 1 year ago (1 children)

Idk man, I lived and worked through all the changes to react and had a good amount of experience with state based programming before that. I definitely know several people who would laugh at the complexity of hooks and the react life-cycle. There's some gotchas but nothing that's out of this world.

So yeah I think it's possible for a highly experienced developer to have React mostly down in two days. I just straight up disagree based on my experience. I suggested 5-6 for a reasonable average for someone with 5+ years of good experience in that general domain. My apprentice was mostly a python Dev too and he was better than my colleage of three years after a few days.

[–] [email protected] 0 points 1 year ago (1 children)

How are you saying you "straight up disagree" and then you go on to agree with me that for someone without exceptional experience, 5-6 days is reasonable?

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

You're the one making the claim it's not possible and I'm saying yes it is with good experience and talent since I've seen it. I'm not agreeing with you at all?

[–] [email protected] 0 points 1 year ago (1 children)

Please point me to where I said that then. Given that my stance is just that it's not very plausible, I would be very interested to see where I supposedly claimed it wasn't possible.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Now you're just being a pedant. Why argue with me about the differenc between 6 days and 2 days? Why have this ludicrous accusation that the other guy definitely doesn't have a good mental model of react and you definitely do? Your entire argument is hinged on calling out the guy for claiming he thinks react was pretty easy to pick up. Why are you arguing with me then when I'm saying it's possible if your position is that it's also possible too if not "plausible." Although I really don't take much weight in your assesment at this point. I tried to give my two cents on the scenario in which I see people pick up react quickly while you're busy calling out this random dude for it not being plausible. Again, it's pretentious. You're not an authority, I have 4 times the experience with react professionally with 2yrs as technical manager and training react devs. I know wtf I'm talking about. There are plenty of people who can learn it in a week whilst you're talking about [ok not years but suggesting that he won't have it down and it takes longer to get a model] and a few I've seen do it quicker. I think you're mixing up actual Dev experience with understanding a UI framework.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Where did I say it takes years? I literally said earlier in my response to your very first comment that I think 2 days vs a week can make a big difference in understanding.

Stop arguing against points I never made.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Ok I've edited the singular mistake in reading you talking about 2 years and attaching that to your other point in your previous comment. Way to pick out the singular thing whilst ignoring every other point I made. I'm still saying two days is absolutely possible and achievable for a chunk of devs with experience. What the fuck are you even arguing against?

You turn around and shit all over the OP and call him pretentious for saying he learned it quick and accuse him of not really understanding react with literally no evidence. I'm saying you're a giant egotistical prick for saying that.

And wtf is wrong with your reading comprehension? You're literally missing the other half of my sentence, that yes a bunch do it in a week and I've trained people who do it quicker. That's my entire fucking point that you can't seem to acknowledge.