Improving as a Software Developer
One topic that comes up frequently in software is what are some recommended techniques to improve as a software developer. The most common scenarios involve students, early career job seekers, and early career professionals all trying to “make the jump” to the the next level, but there are others as well. My advice for all populations is the same. In every case that I’ve seen, the best developers write a lot of code, but in addition to that, they are always learning. While there is much to learn and gain in academic environments, that’s just not where the best skill sets are identified or refined.
I think this is because Programming, Software Engineering, and Compute Science are distinct fields and while they overlap in practice, mastery of any one of them does not imply mastery of the others. Some of these elements can be learned in a classroom, but others are best learned through application. This is one reason why people with similar experience levels and skills can very so much in overall effectiveness, and it’s also a factor in why many consider programming to be more of a craft than an engineering discipline. These observations in part fueled my Musings on College, and I feel that article applies to all academic fields and not just the computer-related ones.
Many people learn tremendous amounts though their employment, which is great. After a certain amount of time though, the rate of learning there will slow down. There are significant diminishing returns on relying on learning within the workplace because the highest velocity learning comes from exposure to new techniques and thought processes, and most learning paths in the workplace eventually stabilize.
This topic dominates job seeking because out of all the elements that contribute to being an impactful software developer, the raw programming skills are the easiest to assess and therefore are heavily relied on in software interviews. I’m not aware of any field that has spawned a comparable number of books on preparing for interviews the same way that the software industry has. Note that if you only care about the interview process and technical assessments, you may just want to read one of those books while working through a puzzler site like Project Euler or Advent of Code.
My recommendation for long-term skills improvement is to build something meaningful under the guidance of a mentor, akin to an apprenticeship. Don’t choose your own project though, because that introduces a distraction in refining the idea itself, rather than the implementation. Instead, pick a popular but simple website known to both the student and the mentor and recreate it. Twitter, or X or whatever is one of the simplest social media sites. Trello implements powerful yet flexible kanban boards. Building a competitor to one of these products is hard, but building a personal implementation is not, mainly because you get to choose which aspects to take on, and your implementation will likely never have any real users.
If you want to pick a different implementation target, look for the following characteristics that provide fertile context for learning:
- Simple data models
- Manageable lists of functional requirements
- Data storage requirements which can be met using almost any technology
- Simple user interfaces
- A reference implementation that can be studied
Build any part of the target site as best you can, regardless of how poor the result may be. Print out G.K. Chesterton’s quote “Anything worth doing is worth doing badly” and tape it to your wall above your screen. It really doesn’t matter how clumsy the initial implementation is, how simplified your interpretation, or how narrow the scope. Iterate with your mentor on the code you are actually writing. Version control everything. Improve your implementation and work to understand what improved fundamentally. A key part of the craft of programming is forming your own opinions as to the right and wrong way of doing things.
It’s possible to iterate in this fashion for months or even years. When you feel you have hit a wall in terms of improving the code you have written and you and your mentor have run out of ideas, consider the following exercises:
Beginner:
- Write the data model for the document. Establish what information constitutes the data model and how to best represent it.
- Write functional requirements for your application. Work to clearly delineate in your own mind what the application does versus how it does it.
Intermediate:
- Deploy your application to a cloud provider. Consider a platform as a service (PAAS) like Render (note Render still has a free tier) or Heroku. This will open your mind to an entirely different category of the field
- Examine and work to understand the HTTP traffic using your browser’s debugger. Try to replicate browser requests using a tool like Postman or curl.
- Adopt a UI framework like Material UI or Bootstrap for your application. Adopting a framework usually forces you to organize and conceptualize your application in a very specific way. One is not necessarily better than the other, but learning about different ways to think about the same problem will be useful.
Advanced:
- Replace a key part of your application such as the database or storage mechanism or application framework
- Adopt a new programming language, especially one with different properties than the one you initially chose
- Build a CI/CD pipeline to automatically update a server when you push changes
- Use a tool like Apache JMeter to apply a user load to your application, and investigate whatever breaks!
- Implement two factor authentication via email using JWT. Then implement it again using SMS messages. Then implement it a third time using an authenticator application.
- Implement a command-line version of your application sharing as much code as possible with the web-based version.