DEV Community

Discussion on: 3 Mistakes Junior Developers Make with React Function Component State

Collapse
 
davidsanwald profile image
David Sanwald

I don't like the title at all.
There are no mistakes that are exclusive or specific to junior developers.
In fact there are so many senior developers that do not write better code than many junior developers.

Collapse
 
thawkin3 profile image
Tyler Hawkins

Very true! These are mistakes that anyone unfamiliar with React or with hooks may make.

Collapse
 
thomashighbaugh profile image
Thomas Leon Highbaugh

Maybe I am not as strong in this conviction as not liking the title at all, for Junior developers are at as much of a need for humility as everyone else writing code (which is why everyone should use Linux, it tears you down every time your head gets too big and in the middle of that huge problem you eat humble pie while clicking through an installer) but Dan is onto something in pointing out that there is something a little off about singling out Junior Developers with the title.

We all know, including you, that in reality these are mistakes that people just make in general, mostly because its never very well explained anywhere what the specific rules are, except in this well written article of course, but I think its more fair to exclude the experience based qualifier of Junior when a 20 year veteran of low level C programming is still liable to make the mistakes because she happens to not have noticed that in any documentation she read. The only thing that is true of Junior Developers specifically is the inclination to quit, which others might like for job security, but I think is a good reason to not target them for fear of discouraging them in a field where the rising tide lifts all ships in the harbor.

Collapse
 
nicoh profile image
Nico Hevia • Edited

I understand your point and I share with you that generalization is bad and there is no a simple rule to say "This is Junior, this is Senior".

In this case, these 3 issues will be present to every person trying to learn React. Probably because they're not intuitive and people without knowledge of something will try to use logic to fill the gaps.
So I think there is some grey area where even if the title is correct, it could say something friendlier like "3 mistakes every person learning react (...)".

By the way, nice post!

Collapse
 
thawkin3 profile image
Tyler Hawkins

Totally. Phrasing can be hard. I'm going to leave the title as is on this one, but this is some great feedback to be aware of in the future, and I appreciate that.