DEV Community

Cover image for How I became a senior javascript developer with personal projects
Afonso Pacifer
Afonso Pacifer

Posted on

How I became a senior javascript developer with personal projects

Everything can be summed up in short words

One of the best decisions in my developer career was to go beyond just using tools.

I decided to create my tools, not for commercial propose, but to know how these technologies actually work and to improve my tech skills.

This is a short story about how this decision changed my life.

My first big challenge with a personal project

I've always been the CSS guy. In 2015 my passion for CSS took me quickly to the status of "reference" in my country (Brazil).

At this time, inspired by my friend Raphael Amorim, I accepted the Write Code Every Day challenge. Basically I worked in open source projects every day for 1 year.

My github profile with 367 days of coding

Okay, but in my first days of coding, my javaScript skills were extremely limited.

Everything has changed when I received an invite to talk in Front in Valle (a big front-end conference in my country) that I could talk about any topic. So I had an idea as naive as it was brilliant. I decided to learn about javascript creating my own CSS preprocessor.

Banana CSS

Banana CSS logo

🍌 The Brazilian CSS superset.

In 2016 I created the CSS preprocessor called banana CSS, the objective of this project was to learn javascript, but I ended up learning about Node.js, how to creating CLIs, lint, unit tests, JSDocs, continuous integration, data structures, AST, how to create gulp plugins, and more.

Preprocessor example with flexbox

Link to Banana CSS project.

Going deep in front-end development.

Okay, at this point I felt the necessity to learn more about javascript in the browser, so I thought about the main tool I daily use and came to the conclusion that it was React.js.

So...

millenium.js

In 2017 I created a project called millenium.js, the description for this project is:

millenium.js logo

A javascript library for creating Functional Stateless Components and render with Virtual DOM. Ideal for creating ultra-light and fast applications with Redux.

Or my favorite description:

🚀 Render your front-end in less than 12 parsecs.

In this project, I learned about performance, good practices for creating front-end libraries, algorithms, JSX, and more. Of course, I kept all the good practices from the old projects.

Example with Redux

See an online DEMO with Redux.

Link to millennium.js project.

Using my passions to explore new things

In 2018, after I watched the Ready Player One movie, I left the movie theater determined to create a game with javascript.

Creating a game with javascript is relatively simple, you can choose among a lot of tools, read the docs, experiment, and it’s done.

But, the natural decision (for me) was: Creating a new tool for creating games.

For this project, I decided to define some funny rules:

  • Don't use Canvas/WebGL.
  • Use only CSS to render animations.
  • Write a functional code.
  • Try to write the maximum of isomorphic/universal code as possible.

burnout.js

Finally, I created the burnout.js:

burnout.js logo

🎮 The 2D game engine for manage collisions.

In this project, I learned more about functional programming, DOM performance, algorithms (for calculating the elements collisions), and much more.

Game example

Link to burnout.js project.

Again, of course, I kept all good practices like unit tests, unit tests, unit tests, hum...

Triggers for projects from projects

At this point, I had a revelation:

OMG, why did I never think of creating my automated testing tool?

So...

N.O.M.s

🔮 Universal/isomorphic javascript unit tests for witches.

While working on burnout.js I built the N.O.M.s (my testing tool) and wrote 100% of the burnout.js unit tests using the N.O.M.s library.

What were the goals of creating my test library?

  • It should work in the browser and Node.js (isomorphic/universal).
  • Create all assertions in pure Javascript (not using browser APIs or Node.js modules).
  • Use Emojis.
  • Don't use a custom CLI for run tests.

Unit test example

Curiosity: I used mocha to write the N.O.M.s unit tests. Ironic but funny 😅!

Link to N.O.M.s project.

Was it worth reinventing the wheel?

After these personal projects (and a lot of others), in 2019/2020 I spend my time working on corporate products, creating complex Front-End applications, and leading a full-stack development team.

For my surprise, in the last years of open source development, I’ve improved my technical level a lot and I had no problems with implementing complex architectures using React.JS, immutable.js, web components, flux, tests, PRPL pattern, back-end APIs (node.JS/python), MongoDB, and a lot of tools/good practices for web applications!

Conclusion

I finish this blog post complementing the first paragraph:

One of the best decisions in my developer career was to go beyond just using tools, I decided to create them.

Thanks a lot for reading my first English blog post.

If you liked this content, follow me on Github and/or Twitter 💜.

Cheers.

Latest comments (65)

Collapse
 
shadowtime2000 profile image
shadowtime2000

Very inspiring. Quick question, who did those logos for you?

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Thanks !
I did it myself :) (I love photoshop <3)

Collapse
 
mendrone profile image
Vitor Mendrone • Edited

This is an awesome article, but, honestly? I learned not to expect less than awesomeness from you buddy! I've been watching your career as you go since I first heard about one of your OSS projects. The first time we met, I knew I was talking to a passionate developer who had an above the grade creative capacity and a brilliant future ahead.

You inspire people by example, not by words.

Keep on rocking the tech world, dude!

Collapse
 
afonsopacifer profile image
Afonso Pacifer

It's a privilege for me to read this comment from someone who inspires me every day to be a better dev.
Thank you VERY MUCH <3

Collapse
 
lorenzgage profile image
lorenzgage

Really inspiring. Great coding mindset that will resonate with young devs.

Collapse
 
klikas profile image
theodoros klikas

Very inspiring story Afonso! Its great to see your progress.

Are there resources that you used initially in your journey and while you progressed? What are some of the books/blogs/documentation you learned from?

I get it wasn't just about javascript but about structuring a complex project, software engineering in general etc.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Greate questions!
I learn a lot using the W3C docs, all community posts, youtube videos, etc...
I basically search for "How you create a [complete here]"..

PS: I published a new post about my "gold rule" for learning new things:
dev.to/afonsopacifer/5-ideas-for-p...

<3

Collapse
 
harutofujihara profile image
Haruto Fujihara

comment

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
sharozijaz profile image
Sharoz Ijaz

After Reading your Story, it gives me Inspiration. Thanks a Lot.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Awesome <3

Collapse
 
gunther121099 profile image
Gunther

Hi, this post is really inspiring and I have a couple of personal projects in mind that I want to do. I hope that I can become as good as you.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Thanks for your comment!
Don't forget to show yours new projects <3

Collapse
 
andrewbaisden profile image
Andrew Baisden

I decided to create my tools, not for commercial propose, but to know how these technologies actually work and to improve my tech skills.

This right here thats the way it should be.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Nice! Let's go <3

Collapse
 
yaanmagale profile image
Yan Magalhães

Thanks for share your experience with us. It's a great and motivated story of how side projects can help us to grow.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Thank you!
You are part of this history <3

Collapse
 
helderberto profile image
Helder Burato Berto

Awesome!

It's great to see people growing and sharing the ways did to do that.

I really appreciate Brazilians (like me) going deeper and catching a next level as a professional.

Congratulations to all your efforts, it isn't so easy to keep the consistency like you did very well.

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Wow, thanks for this awesome comment bro!
Let's show the Brazilians power for the world <3

Collapse
 
urielbitton profile image
Uriel Bitton

Great article and really inspirational. Your journey is impressive, best of luck for the future man! Thanks for the inspiration you offered in this article :)

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Thanks for this comment bro <3

Collapse
 
matiasdandrea profile image
Matias D • Edited

Finally, Thank you! "Don't reinvent the wheel" it's a waste of time only for companies or if you are running a business. If you wanna learn "reinvent the wheel" is the best way, and, if you(when you) get stuck you can simply see how great developer already solved the problems you are facing on.

P.s. I'm not an English native and I'm learning it, please feel free to correct me, thank you :)

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Great comment! Thanks <3

PS: I'm learning English too! Is hard, but the power of communication is awesome!

Collapse
 
sajeevan profile image
Sajeevan

Super bro, its inspiring... I got a thought of creating my own libraries. 😉

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Awesome! Don't forget to share your new projects <3

Collapse
 
luiseduardogfranca profile image
Luís Eduardo

This is a incredible story and a greater inspiration for us, programmers! ❤️

Collapse
 
afonsopacifer profile image
Afonso Pacifer

Thanks bro <3

Some comments may only be visible to logged-in visitors. Sign in to view all comments.