The Most Common Misconceptions Amongst Junior Developers
Tags: career, juniordeveloper, webdev, beginners
Published: 2023-02-23 18:46:58

> *High code quality only indirectly affects users. The main purpose is to keep development velocity high which benefits all stakeholders* 
> &nbsp; — **zoechi**

<br/>

We recently asked the web dev community on [Reddit.com](https://www.reddit.com/r/webdev/comments/112im2m/senior_devs_what_are_the_most_damaging/) what the most common misconceptions are amongst junior developers, and we got a ton of great responses -- more than 270 to be exact.

Because there was so much to discuss, Matija and I decided to summarize the replies and give our own opinions in a longer-form YouTube video, which you can watch below. 

*You can also continue reading further for a summary of the main concepts.*

{% embed https://www.youtube.com/watch?v=eermNn9VhOA %}

## The Most Common Themes

Among the responses were lots of great, specific examples, but we noticed a lot of common themes within them:

- **Code Quality**
- **Managing Time & Expectations**
- **Effective Communication & Teamwork**

These seemed to be the topics senior devs had the most to say about. And it makes sense -- these are the things that, when you get to the core of the issues, can make or break almost *any* career. 

It was also interesting to see that the top replies were issues that encompassed all of these themes. For example, take the top-voted reply:

![Clean things up later](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j6rrl9weufsl2ch92myk.png)

## First Quality & Then Velocity

The top reply above touches on all three of the common themes we outlined, because within it is a message about quality -- about doing things correctly. And whenever you speak about quality, there is an inherent assumption that it takes longer, so we're also talking about time management. And, if you're a part of a team, you can't work effectively without good communication and teamwork.

Nevertheless, in the "quality" debate there were effectively two camps, with those who thought quality code was about: 
 1. writing clean, readable code, that's easy to maintain 
 2. writing code that gets shipped on time and works.

The balance between meeting deadlines, shipping features, and writing the best possible code is obviously a tricky one to get right. Some people had the opinion that business realities trump clean code patterns in the dash to meet deadlines and keep clients happy, while others thought that clean, quality code should be the priority, and that by making it a priority you can actually increase long-term velocity, even if short-term deadlines aren't met.


![You don't have to touch all the code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3z5qolwgu1y09gut2sp9.png)

This discussion can distract from Junior developers priorities though, which are to grow and improve as a developer, not lead the team to success. Therefore, it's probably best for Junior devs to focus on quality first, and then improve their speed of delivery second.

## Stay Humble & Manage Expectations

As a Junior developer, it's not expected that you're going to get everything right the first time. There is an assumption that you will learn the best practices over time, and along the way you might produce inconsistent work, make mistakes, or even possibly break some things along the way.

But that's okay. 

It's part of the process. It's expected. And it's important to remember that this is not a reflection of your value or worth as an engineer or individual. 

In the replies, there were also many developers who recognized another developer's desire "to fix things later" as a way to brush off criticism towards their work. They generally viewed this as a bad habit to get into, as it is often one that plagues developers even as they gain more experience. "Code reviews are not personal", and being able to take criticism graciously is an important skill to develop. After all, seniors are there to guide you towards making better decisions based on their own experiences. And juniors are there to learn.


![Senior Developer Doesn't Know Everything](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3j4lng6hbhwc7hpopmc.png)

But how often should you seek a Senior's advice? Should you do what they said, or what some dude told you *is the only way to do x* on YouTube or in some blogpost ;) ? 

Should you ask for help every time you get stuck, or should you compromise your sanity and struggle alone for days?

Well, it depends on who you ask. But most of the replies made it clear that:
1. You should try it out yourself first.
2. Use the resources available to you (Google, Stack Overflow, GPT) to try and figure it out.
3. Ask for help once you considerably slow down on making any progress.
4. If you have a possible solution and it differs from the senior dev's suggestion, that doesn't mean it's wrong -- there can sometimes be many possible ways to achieve the same goal!

![Bothering seniors with questions](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e7yylsti2jhtcc81fv93.png)

## Be Flexibile & Open to Change 

Nothing changes faster than the world of technology. As a developer, you need to constantly be learning and adapting to new technologies and trends. If you don't like change, well then being a software developer probably isn't the right career for you.

![Everything takes longer than you think](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rkvo1a6gavuj0d341h9y.png)

On top of things changing constantly, it's the kind of job that challenges your assumptions. What you think might be the best solution turns out to be incompatible with your team's desired goals or end product, and you're forced to use a "sub-optimal" solution instead. Why? Because it's the best way to 
get the job done given your team's constraints. *"Sorry, pal, but we can't use your favorite framework on this one."*

The developers who stay flexible and open-minded are often at an advantage here. They're the ones that are less dogmatic about a particular technology or approach, and are more willing to adapt to the situation at hand. They're typically the ones that progress faster than their peers, and they're the ones that get the job done well.

<hr/>

*Want to stay in the loop? → [Join our newsletter!](https://wasp-lang.dev/#signup)*