6 ms·
Reflections on software engineering in the age of AI
- babblingfish 3mo agoHow does Andrew manage being a full-time software developer and an author? Both jobs are so cognitively demanding.
- Avicebron 3mo agoOne of the things that's neat about the software field in this day and age is that you can see when someone started out 20+ years ago, when things were pretty easy (relatively) and the boom was still on the horizon. It's pretty common that someone who was born around the right time to the right people in the right location to become a millionaire by writing some php may do something else, but still consider themselves an engineer.
- diamondap 3mo agoIt is extremely mentally demanding to do both, even for someone with an overactive brain. I reached a point of severe burnout in 2025 and cut back to part-time work. I'll have to ramp up my hours again soon because, contrary to one of the other comments, I didn't get rich during 1990s/2000s boom. As for how I did it, I would wake up very early and put in a few hours of writing, then I would put in a full day's work at the office. After my first twelve years or so in the industry, coding was almost second nature and came quite easily. Also, I do much of my writing and programming in my head while I'm walking, running or biking. (I bike to work and back every day.) By the time I sit down to write or code, I already know what I'm going to write, so it's just a matter of getting it through the keyboard. But yeah, do both for a few years and it really taxes your brain. In both novel writing and programming, you're carrying an entire world in your brain: the plot and characters are one world, the architecture of the software you're working on is another. By 2025, I truly, literally felt like I needed to be shipped off to a madhouse in the countryside. A hundred years ago, people used to call that "the rest cure for a nervous breakdown." Anyway, cutting back to part-time work has been a huge help. Sanity restored.
- babblingfish 3mo agoThanks for this. I've been trying to learn this writing thing on top of my full-time job and it's been a struggle. It's helpful to hear how you managed it.
- AndrewKemendo 3mo agoI’ve been successfully shipping software since 1998. I just got the first payment on a greenish-field software product I’m doing on the side solo (that I couldn’t have done solo in 2019 without the tools). This is my workflow: 1. Client asks you to add a feature(s) 2. Spend two weeks unpaid walking the client through scoping down to the most minimal viable set of features that tests the business hypothesis and roadmap 2. I wrote up a reasonably exhaustive bullet list and sent it to a CGPT to write a draft formal definition of features describing what it should (and should not) do, how users can access it and what the suite of tests that we will need through TDD 3. Chat for 30 minutes with CGPT researching which data structures, algorithms, code libraries and external services might serve best to implement this feature. 4. Generate mockups and data schema alongside CGPT, to build the new feature, the tests to make sure it works as expected, and the documentation telling users how to use it and telling other engineers what they’ll need to know to maintain and debug it. 5. Generate minimum code to test the full data workflow. 6. Send repo and or working application binary to Claude and Gemini to critique 7. Adjust as needed. Deploy for client review and acceptance in sandbox. Promote to production 8. GOTO3 and loop I can do in a week what would have taken a month a decade ago
- sureglymop 3mo agoPart 6 to me seems always totally useless. Whenever I let these tools look at existing repos they are too influenced by what's already there. I could even say "feel free to completely refactor or rewrite anything" and they'll still just do small performative changes. I've now changed my workflow to only using AI for prototyping and rewriting by hand once I can see something is viable. Takes longer but the results are always much better.
- AndrewKemendo 3mo agoI don’t have those problems You have to build your architecture modularly so you’re never having to reason about more than the schema and api-contracts for IPC
- sureglymop 3mo ago
- deleted 3mo ago[deleted]
- danans 3mo ago> Someone asks you to add a feature to an existing program While I empathize with the tone, even before AI the creativity was largely at the feature definition step, not in the implementation. Outside of the very few computer scientists working on novel algorithms, the vast majority of software development is a mapping problem between the feature request and the mundane technical details, something repeatedly (and correctly) mentioned here in the context of FAANG algorithm fixated interviews. This has now largely been automated by LLMs What is left is just creativity part - defining the use cases and features to develop in the first place. But the corollary is that software engineers that start after the requirements have already been defined are obsolete, which is a sobering thought for any of us in that vocation.
- pianopatrick 3mo agoSeems to me that feature requests are not all that unique either. Seems to me you can get feature requests from user feedback. I also expect someone will figure out a way to have AI "use" your software and suggest features
- horns4lyfe 3mo agoI always think that stuff is funny because it clearly comes from a place of having only worked at faang-level-esque companies. I’ve only ever worked at messy mid-size software companies and have never once had a legit product manager guiding feature work, it’s generally been up to the developers to figure out what needs doing
- danans 3mo ago> I’ve only ever worked at messy mid-size software companies and have never once had a legit product manager guiding feature work, it’s generally been up to the developers to figure out what needs doing That's because the systems and problem spaces at FAANG companies are so large that you need(ed) a lot more division of labor to make anything work. The division of the technical side of the house between those focused on product management and those focused on building software allowed both to be done more effectively, but both roles have had a lot of their work overtaken by LLMs. Also, From what I've heard, FAANG companies are going through big (and painful) transitions to align their staffing with the reality of what current AI tools are capable of.
- jdw64 3mo agoReading posts on HN, I notice that even across different programming domains, surprisingly similar problems emerge. Seeing this, I can't help but think that programming might ultimately be a matter of organizational theory. Conway's Law speaks to this as well. Code structure and approach shift significantly depending on how an organization is structured. From that perspective, it makes sense why Gen AI coding yields such starkly divided opinions. Zooming out, the debate largely boils down to the downsides of severed junior pipelines and lost tacit knowledge on one hand, versus the upside of being able to build everything you envisioned on the other. Honestly, I suspect that programming in the future will become something like the art of bonsai, a form of sculptural cultivation. Just as you dig furrows for water to flow through, and once the water emerges it follows those furrows, Gen AI will pour out an immense volume of code, and we will shape that code into form. It is like when you build with IoC based frameworks. If you do not adopt hexagonal architecture, the code inevitably converges toward the patterns the community recommends anyway. Ultimately, it is less about individual code fragments and more about hoping those fragments do not go wrong, contained by guardrails that ensure they do not exceed certain thresholds. If that is the case, programmers might end up focusing on questions like, "How much loss is acceptable?" Many programmers say, "You need to know the entire codebase." But as someone who has delivered over 30 projects with codebases of 60,000 lines or more, I know that once my own code alone surpasses 40,000 lines, it becomes nearly impossible to hold it all in memory. So I document it in broad categories. And the next day, I have to retrace where I left off and refresh my memory, which takes a long time. This is one area where Gen AI genuinely excels. Personally, what I have noticed when looking at other people's code is that those who work at a low level often struggle with high level integration, and vice versa. When cognitive resources become concentrated, specialization deepens in one area while others are neglected. And how one manages those cognitive resources ultimately diverges depending on the domain and the specific problem at hand. Just as the mindset required for architectural design differs from the mindset required for diving deep into implementation. My workflow, broadly speaking, has not changed. My main job has always been to grasp a legacy codebase, open up the black box, connect debug logs one by one, find safe footholds, and add features. The only difference now is that the black box called "legacy codebase" has simply become "Gen AI code." It is not like I could ever claim my own code was bug free to begin with. Ultimately, what mattered was which bugs to contain and how far to wrap them. Open source programmers, however, are different. Their code blocks serve as their cognitive solutions and their reputation, so their approach differs from delivery oriented code. That is because code quality itself contributes to their prestige. For me, it is the brands and the number of companies I have delivered to that build my reputation. That distinction seems to divide programmers at a fundamental level. In that sense, I think future programming work will split into roughly three categories. The first is the exceptionally talented group that creates the datasets Gen AI will consume. In other words, the renowned open source groups we already admire. In AI labeling terms, they will be the ones producing the gold standard answer sheets. I believe they will survive and remain admired, just as they are now, though their numbers will shrink even further. The second group will be those who make Gen AI code flow through industries and organizations. When Gen AI pours out code like water, they will be the ones managing the channels to prevent it from flooding. Most people will migrate into this role. The third group is QA, and I think they will survive. They will execute Gen AI code and relay to the channel managers when the watercourses are going wrong. In truth, things are already moving in this direction. It is like how no one thinks about how OOP inheritance maps to vtables anymore. People just treat objects as abstract concepts and move on. Personally, I think the overall flow in Gen AI coding will shift toward implementing system state in the form of state transition diagrams, a return to the primitive form of Parnas's theory of information hiding. Parnas's theory states that "modules should hide design decisions that are likely to change." Humans interpreted this as something like private variables in OOP, but then leaked internal implementations to the outside anyway. When business policies end up scattered across controllers and services, information hiding has effectively failed. The decisions most likely to change are not hidden in one place. They are dispersed throughout the system. But in the Gen AI era, ironically, information hiding might actually become easier to achieve. You just define the state transition from "payment pending" to "payment completed," and that is it. Ultimately, we might end up circling back to earlier approaches, do you not think? Anyway, I am not asking for someone else's answer. I need to find my own way. Because my way and someone else's way are different, just as my programming and someone else's programming are different. Programming is ultimately the work of constructing a mental model, and that mental model is inherently personal. I just hope I can survive into the next era.
- lilerjee 3mo agoThis is not an Age of AI. Why do so many not-real-programmers think this is an age of AI? It's just a hype. I am developing my own app 2+ years manually, and not use "AI" at all. Using AI usually can cause many problems, which the author pointed at. Programming should be enjoyable, not an annoyed or unhappy thing.
- deleted 3mo ago[deleted]
- slopinthebag 3mo agoYeah it’s gonna be funny looking back in ~5 years. And probably embarrassing for some. “Age of AI” but most people actively dislike it and hasn’t had a clearly positive impact on the economy after ~4 years.
- fragmede 3mo agoHow do you want to define "clearly positive impact on the economy"? NVDA and a bunch of other stocks are way up. If you got in early, you're sitting pretty. I'd call that positive for those lucky people.
- slopinthebag 3mo agoHeh, during the California gold rush most of the people who turned a profit did it by selling supplies and services to the prospectors. Maybe I shouldn't have said economy but rather "society".
- deleted 3mo ago[deleted]
- tick_tock_tick 3mo agoThere are still bespoke craftsman in this era of machinery and assembly lines. You choosing to do something in one specific manner is more the exception that proves the rule then any rebuttal.
- ojr 3mo agoit just a higher level of abstraction but not high enough that it replaces developers, I don't think the LLMs are even capable of reaching that level. Saying the creative process is gone is laughable. A lot of people make these claims and only have an internal tool that no one uses to show for it. I built a "simple" storage application recently, uploading large files from a phone is not trivial, you can't just command Claude to do it without giving it good context.
- whoke 3mo ago"you haven’t done any of the hard thinking you would normally do in writing the code yourself" It's true, I spend less time solving problems that arise naturally from the process of implementation. But implementation errors have a poor signal-to-noise ratio. For every error that exposes a real design problem there are 10 others that involve routine fixes: type errors, scope issues, import resolution, dependencies. There's a common argument I see being thrown around, which is "how will junior engineers develop into senior engineers if they don't get reps in with implementation?" But to me it feels like "programmer" and "architect" are becoming more and more orthogonal as the models improve in capability. If my goal is to be an architect, getting more reps in as an architect is in my best interest, and letting the agents do the dirty work frees up space for me to spend the mental effort where it counts. And anecdotally, the scope of projects I've started taking on has scaled roughly linearly relative to how much work I'm able to delegate, while the mental engagement has stayed constant.
- michaelchisari 3mo ago| type errors, scope issues, import resolution, dependencies. I write code myself and use the LLM to find mistakes then fix them manually. I recommend inverting the conventional wisdom on LLMs: 1. Don't use it to write code. It's a terrible programmer. But it's an intelligent rubber duck and a solid analysis tool. 2. Write the code yourself. It'll go faster than figuring it out as you go along. It's just typing if you have a plan. 3. Use an LLM to sanity check what you wrote. It can find potential design issues or future problems or breaks from convention. Decide based on your experience how much you want to address these issues before moving on. Is this as fast as AI writing the code? Not at first but possibly over time. Maybe faster. Certainly better quality. Plus you don't lose any of your skills in the process. You're still doing the gruntwork necessary to keep your skillset. And the token cost is a small fraction of what it takes to get LLMs to write good code.
- dnadler 3mo ago> Don't use it to write code. It's a terrible programmer. I see this sentiment often, and I’m honestly not sure where this comes from, as it’s really not been my experience. I feel like this must come from people feeling threatened and just moving the goals posts, or not knowing how to use the tools effectively.
- prymitive 3mo agoFor me the biggest issue with AI coding model is not that it writes code, or how it writes code, or whether it will replace me or not. I mean, these are real problems, but just not the ones that makes the difference to me daily. Instead what sets my feeling about the AI is simple: the experience of working with AI models, because it's the worse experience of my life so far. Every single LLM will make up stuff, go down rabbit holes I didn't even ask it to visit and infuriate me all day long by doing ALMOST what I asked it to do, but just not quite. Take "yes" to one question as an approval to some other question. Come up with a plan but one you review the plan and accept it it hits some minor issue and then throws away the plan and do whatever it wants. Or when I reject some line of code or don't approve a command it wants to run 9/10 times it just tries to re-add or re-run it as if my rejection was meaningless. And no amount of rules and markdown files ever seems to change its behaviour for long, if at all. It's like working with a sociopath who just doesn't remember anything that happened 5 minutes ago. It's the classic case of "my computer doesn't do what I want, only what I tell it". And all of that would be fine if it didn't pretend to be a human, if all the UX didn't create the illusion that you interact with some intelligent being, because as long as I remember that this is a cli tool it's all good, I manage my expectations, but the experience sooner or later makes you annoyed and frustrated - and if this was a person they would either stop or you wouldn't never work with them again.
- throwrioawfo 3mo ago> doing ALMOST what I asked it to do, but just not quite This is my exact experience. LLMs get 95% of the way to my personal quality bar, and for simple tasks 100% of the way. More complex things, no. This means that, in practice, I end up having to understand the code pretty much as much deeply as I would anyway, without agents. So, essentially, my experience is that it's automated away the easy bits, but left the hard bits, so all of my time is spent doing the hard bits, which is mentally exhausting. Maybe Fable would be good enough to get to 100% of my quality bar on more complex tasks, but I never got chance to try it.
- prymitive 3mo ago> So, essentially, my experience is that it's automated away the easy bits Yes, which is great for “easy” but mundane and time consuming tasks like refactoring structs when you have a ton of tests that look at snapshots of nested structs etc. Squeezing that last few bits of “make comments consistent with the style and tone of existing comments”, or “stop adding docs that make it sound like an academic paper” or just keep the overall feel of the code same across all files take a lot of effort and energy.
- kachurovskiy 3mo agoI wonder if we're being overly selfish here and ignore the positive effects of democratizing programming and making software more accessible to less well funded causes and organizations. A good software engineer used to cost 100k/year, very few businesses could afford that. I also disagree that AI results are lower quality. Codex Pro results I get are marvelous but they sometimes miss things that humans understand naturally - all of the edges - coherence of visuals, passage of time, etc.
- lowsong 3mo agoWhat AI does is the exact polar opposite of "democratizing". We're going from a world where high-quality learning content is plastered all over the internet for free, where open-source projects are desperate for contributors and full of "good first issue" tickets, and where the tools you need to code can be run on any crappy laptop from the past 15 years—to a world where the majority of content about programming is unverified AI slop, where open-source projects are locking down access to protect against an avalanche of drive-by AI garbage, and where you need a $200/month subscription or a $3,000 GPU to run AI models for coding.
- Chipshuffle 3mo agoOne thing I just discovered is that I’m no longer interested in choosing a novel tech stack. What used to engage me now just feels shallow to me so I stick with what I already know. Not sure if that’s fine though since I get to the point of a project being interesting a lot faster instead of wiring tools together.
- ezoe 3mo agoWe already have such position and it's called manager. The manager's job is to manage multiple programmers to let them write code. A good manager should focus on management rather than write code himself. But keep doing for many years will make manager out of touch from modern coding so he is starting to mismanage people or issue technically wrong order.
- aogaili 3mo agoMachine hater and manual labour worshiper..he thinks he got stupid because he stopped doing if/else and for-loops. Life is full of complexity and it might be helpful to get one level-up in abstraction to try to solve real problems and other people actually care about.
- aogaili 3mo agoWhen I started posting on HN, many times I get downvoted. And this an another example, you don't get discussion you just get downvoted. And it's a good thing, it means I think differently. The fact is, one could pump literally 10k LOC/Day using LLMs, and in the right hands, those will be quality code, and this is objective observation from someone who has been coding for 20+ years. It almost feels like we have tractors for mechanical thinking, but there are those in the industry who built their entire career and identity on the bottleneck of coding, and those struggle. But those people will be left out, forgotten. Progress doesn't care about feelings and identities, entire civilizations with their minds collapsed, and buried because they didn't adapt to progress. Do you really think your ego can help you to shelter from that when many before you parished?
- cadamsdotcom 3mo ago> AI does not know whether the code it just added violates some legal requirement to which your product is subject. The rest of the paragraph is a list of similar complaints. All of these can be codified - the new work is the (fascinating!) challenge of working out how and codifying them, then giving the codified checker logic to the agent to run at will - thus taking yourself out of all of those loops. They don’t even need to be deterministic checks - a shell script that wraps a `claude -p` - and maybe fetches some online resources to stuff into the context - can do your agent’s legal check for it. As a result, you’re only being effective if you can engineer (not hack, not vibe) an agent that can produce work your company can use with as little cleanup as possible - and with less cleanup over time. You get job by codifying what you know - what most don’t account for is that there’ll never be a limit to what there is to know, and codifying expertise will be challenging for a long time to come.
- lowsong 3mo ago> They don’t even need to be deterministic checks - a shell script that wraps a `claude -p` - and maybe fetches some online resources to stuff into the context - can do your agent’s legal check for it. No. It can't. If you think that injecting legal text into the context window and appending "make sure the output complies with this law" will solve your problems you have not understood how an LLM works. The kind of checks you are talking about cannot be codified.
- cadamsdotcom 3mo agoSo we should give up before we even tried?
- lowsong 3mo agoTried what? Using LLMs to produce software? I'd say the industry has collectively "tried" to do this for a while now and the results have been an unmitigated disaster. Yes, we should "give up" on using LLMs, but certainly not for a lack of "trying".
- cadamsdotcom 3mo agoWriting and coding are not the same thing; coding is a means to an end, since you don’t use the code, you use the software. This means the mechanism by which the code was created is orthogonal to the software as you’d experience it as a user. There are many reasons to curate what goes into the software - for example, if it must be maintainable, if it must conform to standards that cannot be fully codified into the software (eg. regulatory requirements), or if you just really darn well like writing code! But it takes a mountain of code to make an outwardly simple thing so why not use a work-amplifying tool to produce that code and get to working software more cheaply. On the other hand writing is the act of creating the exact product that will be consumed. Every detail matters and there’s no leverage to trying to write faster. So it’s a false equivalence. Hopefully I’ve elucidated the subtlety.
- bluefirebrand 3mo ago> But it takes a mountain of code to make an outwardly simple thing so why not use a work-amplifying tool to produce that code and get to working software more cheaply The same reason we didn't just wholesale copy and paste from open source repos in the past?
- fatata123 3mo ago[dead]
- justonepost2 3mo agoThe only reflection that matters, now, is that every company that sells software for money is now a confidence game. How long can you con your users into believing they have any reason not to type the 5-word prompt “recreate <product> make no mistakes” and cut you, the middle man, out?
- Twey 3mo ago> I don’t use AI when I write, for the very reason that writing itself is the act of organizing and clarifying my own thought. Letting the bot write for me would be like paying someone else to exercise for me and hoping that gets me in shape. I don't know why the author chooses to distinguish writing prose and writing code here. [Software is made of decisions](https://siderea.dreamwidth.org/1219758.html https://siderea.dreamwidth.org/1219758.html) and at least I usually like to flesh out those decisions through the act of writing code, which forces a level of precision that makes it hard (though not impossible) to handwave away important decisions.
- deterministic 3mo agoNot my experience at all (30+ years of experience as a professional software developer). I currently work on a very large (multi-million lines) C++ code base and use Claude Code for the following: 1. I run Claude Code in the background finding bugs, while busy implementing new features. It has so far found and fixed 100+ minor issues and a few major could-crash-the-server-in-production issues that I was really happy to get fixed before a customer found it. 2. I use Claude Code to do massive refactorings that would be really tedious to do by hand. I love the fact that it updates not just the code but also comments and documentation. 3. I use Claude Code to implement features that I frankly am too bored to implement by hand. Excellent! Less boredom at work! 4. I use Claude Code to generate tools to analyse the code and/or generate code. This is a massive quality improvement. It allows me to make the code more maintainable and simpler while adding more features. However I always always always check and verify every change before committing to git. Because the LLM it will occasionally add features or bugs I don't want. The end result is really positive. Lots of productivity improvements, less tedious can't-be-bothered work, lots of bug fixes that otherwise would have triggered production issues etc. etc. while 100% maintaining my understanding of the code and all changes. Love it.
- ahana_537 3mo ago[dead]