May 19, 2020
Alvin Crespo
Tags:
There are a lot of good articles out there on how to level up your software engineering career. I’m going to focus on one: digging deeper. Digging deeper is the concept of being comfortable understanding what you use and how you use it. Let’s get to it.
When I first started, I had no clue what I was doing. My method of doing anything, especially in the early days of web development, was to just piece things together. Some HTML here, add a little bit of CSS (Blueprint anyone?) to make it look good and a sprinkle of jQuery. I’d download assets, add it to the project and then FTP it — done!
I didn’t dig into any of those libraries. This was my method:
This wasn’t sustainable.
I feel sorry for the people who had to maintain code from my early days. Who knows, perhaps they still are. It’s a spaghetti mess. I eventually learned to clean up my act and my code! Once I got out of freelancing and had opportunities to join formal engineering teams — I understood that it was necessary to think through solutions.
I thought about maintenance, scaling, and code styling. This was my method:
That’s where I plateaued.
When I was working in Ember and working closely with folks on the core team, I was introduced to a novel concept: debugging internals. We would put a debugger and just step through the whole stack. I had never done this before! I thought it was crazy! I also thought it was the coolest thing in the world!
During that time — I found that the tools I was using were developed by other humans! Humans who had an idea and just wrote the code for it. Some of it was great, some of it was terrible.
Over the course of a year or so — I had developed some core knowledge about Ember that helped me:
This was my method:
How do you get here?
Don’t wait to get to this step! Start today!
Alright, let’s start here:
Let’s say that for whatever reason my loading state isn’t working. I don’t know why my query works and the graphql playground is working as expected. I’ve looked at the docs several times and I’m stumped. What can I do? I can add a debugger at this line and step into what’s happening — that’s a great option.
I could also dive into the source code. This is what I’m going to do because I need to know whats going on to figure out what’s up. Keep in mind, I’ve never done this before this article.
Here’s what I do:
Let’s start by going to the repo:
Alright! We’re looking at source code…but… there’s nothing here — what do I do?
Ok, we’ve found the file — let’s open it.
This is the line, I’m assuming we hit:
Found it! Let’s go into the data directory:
Found it! Let’s see what it does:
There it is!
A very important step in your career is the ability to dive into the tools you use. Doing this is a crucial step in giving you the freedom you need to build software the way you want. With this in mind, go on and triumph!