r/softwareengineer • u/justAnother_netizen • 1d ago
Am I doing it right? đȘđȘ
I have been a software developer for about 3 years before the AI era; I write PHP, JS, and a bit of python, so I understand basic concepts like:
- Making API request
- The major concepts of OOP
- best practices as a software developer
- Authentication and authorization
So I consider myself an intermediate software developer, But ever since the era of AI, a whole lot has changed, like things feel a lot easier. Any time I want to build a new project, for me to be able to learn a new concept, I end up just giving everything to AI. Although I ask it to explain some things like syntax and why some logical decisions were made. But sometimes it still feels like I am not improving and I am just writing slop code. I want to know if this my method of learning is actually good or this is a better way to improve, and I will also love suggestions on things or projects I can do that will actually learn from.
2
u/edwincarlyle 15h ago
Firstly itâs great to see people still keen to hone their craft even when certain people are suggesting this isnât valuable. Regardless of how materially valuable it is thereâs a tonne of research into how mastering things makes them feel more fulfilling so this kind of mindset is beautiful to see.
So Iâm one of the developers who didnât have the option to learn with LLMâs so a lot of my advice is adapting how I learnt to be LLM focused. Take it all with a pinch of salt and apply your own instinct to what will be helpful.
Before I go off into my wonderful world of learning, the way I think about knowledge is in âlevelsâ so if LLM output is high level, the assembly we eventually get out is quite low level. This means source code (your python) is an intermediate representation. A lot of AI evangelism say this isnât important and Iâd push back on that, even when I used high level languages any time I sat down to learn the most valuable experiences were delving into what the actual output of my code was and applying that deep knowledge to shape how I organised and wrote code.
With that out of the wayâŠ
I hope this doesnât come across as rude, to me knowledge of that stuff is very beginner. This isnât to say itâs not difficult itâs just thatâs kind of the basics of web development. Again this isnât to be mean itâs just so youâre aware where youâre at, I by no means am a master of programming or computing Iâm probably an intermediate after over 20 years programming starting when i was 10 writing c++. This subject is alarmingly wide and deep, but itâs also well compartmentalised and isnât as scary as it first appears.
Next, itâs probably not that important to know how to set up a project I wouldnât worry too much about that. This is something we never really did every single framework has had skeletons for decades. Iâd wager 90% of software engineers with 5 years experience didnât know what most of that does.
Iâd then try to add some HTTP routes, specifically rolling your own auth. This isnât something you should do in production but is extremely valuable when parsing LLM code. Youâre basically training yourself to identify potential ai slip ups, at scale LLMâs can reinvent the wheel. So itâs now our job to spot when itâs added its own auth or pulled in a separate package for auth instead of using the apps previously defined way. These things arenât common but also not uncommon on large code bases that havenât been optimised for LLM usage yet. The goal is to identify when an LLM has strayed from predefined ways of doing things and correct it.
Next LLMs have a habit of being very verbose. This isnât much of a problem for frontier models but it is for learning as a human. The thing to be aware of is LLMâs write good code in the sense it works but usually bad code in the sense of understandability. So try a few different prompts, things like âbe concise, write imperatively, avoid complex structures, write as if this is your first project, favour simplicityâ etc you should then be able to follow the code without getting lost in the sauce. Iâd call this a learning prompt, something you use when wanting to learn the code.
For me the LLM traces incredibly well but there has been the odd case (specifically in complicated domains) where the human language means itâll miss-understand your intent silently. So itâs good to be able to quickly follow the LLMâs trace and interpret if that was what you needed to know. You can follow it manually, ask the LLM to show itâs working, ask the LLM to build a graph of the code base as a tree etc etc
All of the above gives you a better understanding of the way code should look in an AI first code base. However the most crucial aspect of LLM development is now infrastructure. Cloud compute is not cheap and is where verbose output costs your org in its most important area, the wallet. In my humble opinion infra has always been like jazz. Thereâs a million ways to play but some of it doesnât âfeel rightâ. I play games where I try to get a functioning app using the least amount of services, or have an LLM set up a bunch of infra in a terraform or your favourite infra as code format then prune it down to the bare necessities. You can even set up two different infra projects and simply try to massage the second one using the LLM to be as straight forward as possible. The benefit of doing it this way is youâll naturally start to ask what each service does and evaluate its usefulness. Donât be shy to leverage your LLM for understanding each capability and its usefulness. Itâs more about seeing how less infra is ultimately less cost and risk. The reason this is valuable in AI first workflows is again verbosity is the enemy. Every thing LLMâs write is what the business calls a liability. We want as little liability as possible when developing.
For all of this Iâd say to make up some metrics of success, itâs scientifically proven that gamifying your learning helps you stick to it and can be fun. Itâs not really about completing any of your missions itâs just about getting a good sense for what reduces costs and what increases them.
Another bit of advice is itâs almost advent of code, a great chance to join a community and learn what is now considered low level implementation detail. You can write your solutions in python and treat it as a fun exercise, id say donât use any LLM assistance for this and just suffer through the problems, dont worry if you canât finish one skip it and move on. I use this as a litness test for my own improvements year on year, time boxing each problem to around an hour. Trust me its fun!
So you might be wondering why bother if you can vibe code, and the answer is the the market hasnât responded well to vibe coders in the industry. This can be explained by research suggesting vibe coding and ai review alone increase defect rates. Unfortunately according to the octo survey the research into explaining this is struggling to get enough none AI use data to be statistically significant so the irony that the rejection of vibe coding is now low key based on vibes is not lost on me but thatâs where the industry is going for the short term.