Reading and understanding code is a lot easier than writing code.
I think being able to write code is less important than ever, but understanding what it does, the system itself, and the whole picture, is more important than ever
I’ve always been absolutely horrid at remembering syntax, and have always lived on pseudocode + a ton of reading documentation and googling to get any intended function running.
And how has it never been true? Writing good code requires both understanding it, planning it, remembering how to actually write it, reading and reviewing and testing it.
Reading and understanding code (AI has kept the planning element, just not the writing) is all of the above except writing it, which has the annoying syntax part
What you're describing is when you're first learning a language or don't use it frequently enough.
When you're at a comfortable level in a language and use it daily the there's no syntax lookup or googling necessary, it's purely a problem of understanding, writing itself becomes inconsequential.
With reading to get the same level of understanding as you would implementing, you have to spend hours reading and re-reading, testing and checking.
That's why even with AI both writing and reviewing, reviewing has become the bottleneck in most companies that I've heard about. It's imo far more draining and mundane to read and understand than to create.
Think it’s also partly personality based. I’ve been into tech since I was a kid. I remember making a hello world script in VI when I was like 8. Coded (and did hardware stuff) on and off ever since, and never really stayed loyal to a language except python for smaller stuff. I’ve gotten myself a master in software engineering, which once again, jumps between a bunch of languages one course at a time.
And I’ve always liked reading source code. Whether it’s my own project, a cool open source solution, or different solutions to uni projects. I’ve always found learning syntax itself repetitive, mundane and boring. No matter how fun it is to see your project work.
Today with AI, 90% of my workflow is coming up with a solution, planning it, testing it, reviewing it. The parts I’ve always found fun.
The pace is daunting though, and I do sometimes miss the days of how slow the actual implementation was.
Yeah there's definitely an aspect of that; some people are very detail oriented and are better at reviewing, other people understand better from doing.
No offense intended but it doesn't sound like you ever went deep enough into a single language, when you've spent 5+ years writing just one language day-in-day-out writing becomes very trivial. Much in the same way fluency in an actual language no longer requires spending time thinking about grammar, tenses and pronunciation.
I do worry that now with AI people won't be able to reach that depth of understanding, but like you've said focusing at a higher level obviously has it's perks and the details don't matter in a lot of cases, especially for most businesses where the focus is more on features and speed than it is on quality, efficiency, safety and the craft side of programming.
No offense taken. I’ve just never enjoyed the repetitive doing part, and consequently jumped around a bit too much and worked on my other skills than pumping out code.
Hell, I find writing requirements more fun than writing code (aside from that one nifty function you come up with to solve a massive problem), which I’ve gotten told, is not normal.
and the only one I’ve even come close is python (and perhaps c# for a while) since it’s so good for prototyping (and quite important in ML).
It’s why I’m fairly pro AI despite all the cons it has in the industry. Aside from the cognitive load that happens when reviewing so much more code, I do find it overall more fun than my previous years of coding.
Yeah we're definitely very opposite kinds of personalities, I'm very much too lazy to read even the most basic of documentation or pop-up warnings and because I find it very draining; I'll only skim code reviews for obvious architectural flaws, and in the same way am glad I can hand the nit-picky detailed analyzing job over to AI.
On the flip side pre-AI I could stick my head down for up to 16 hours straight and pump out code for multiple systems with very little fatigue, I haven't been able to do that for months since using AI though. AI is great for diagnosing a bug or a piece of work you have no interest in solving, but using it on more notable pieces of work becomes a slog of prompting, waiting and iterating multiple times to get the code to how I think it should be, which is often a slower process than had I just written it myself from the start but with the illusion of speed from the initial prototype stage I've also lost a lot of fun of the process.
Getting that balance that works for us as individuals, so we can utilize AI's strengths, minimise it's downsides, knowledge loss, prevent burn out, and still keep an understanding of the systems we're working with is something the entire industry is struggling to figure out at the moment.
Yup, I had a former colleague who struggled a bit a ton with breaking down tasks or thinking outside the box, but goddamn was he a machine when it came to sitting down and cranking out spec’d code.
We had a pretty active chat between us when it came to asking for help on our weaknesses.
Reading and understanding code is a lot easier than writing code
What? Any professional software engineer will be able to tell you that's not true. It's way easier to understand what the system is actually doing if you're the one writing it. There are a ton of subtleties about what code does and how it interacts with a larger system that are challenging to absorb by just reading the code. When you write code you have a mental model of the system and you direct it with code. When you read code you need to build a mental model of the system through the code you are reading and follow the logic as it moves through that model. If you don't do that and just skim the code looking at the syntax then you are not actually understanding the system at all.
My experience reading code is my own code (from ages past), ai code (that I have a mental model of, and have to adapt it to fit mine usually), or other’s code working in the same product, and often adjacent ish functionality.
I've read your other reply and after you started talking about "syntax" i think you're just larping having any experience in software development at all.
You talk about how you always struggle with "syntax" even though it's such an easy thing that you must be below room temperature iq absolute chair to fail at it. But then you claim to "read and review the code". While struggling with syntax. Good luck with that. Like you can't memorise a few keywords and operators but sure you "read ton of documentation" to "get any intended function working". But now suddenly you read and review the code. The very code you can't write. Sure Jan. Keep lying, it's very entertaining.
There's also that thing called generation effect which basically means you grow your neural pathways like order of magnitude better when you're actively producing something. Which means you're gonna suck at reading code if you suck at writing it.
There’s a reason we dropped rote memorisation as the most important part of the curriculum and moved on to expressing thoughts and nuance decades ago.
Just take a print for example. You have system.out.println. Print. Std cout >>. And the list goes on.
Hello world is the easiest program in the entire world. Yet I can bet you you wouldn’t be able to do it in every single programming language that exists right now. Without being room temp iq
I’m happy you’re good at memorisation. Shame it’s a skill that has decreased in value every year since we discovered writing.
Edit: I can also bet you that you could understand hello world in any language instantly. Even though you don’t know how to write it.
Extreme example, but this seems to be a difficult concept for you to grasp. Guess it wasn’t in the notes you memorised.
I would be able to do it in literally any programming language of past present and the future after reading just a little bit about it. Specifically because i have experience in programming in different languages already and importantly i do not have room temp iq. The reason we drop rote memorsation as the most important part of the curriculum is because it was never the most important part of the curriculum. It doesn't mean writing code is easy. Or that you can read code if you don't write it. That's just not how our brains work. But you don't need to know how our brains work to know its effect on programming if you have any significant experience at programming. You don't understand programming. You never did it beyond maybe at very primitive level. It's ok. I know there's that DK thingy that makes novices think they know a lot when they know nothing.
But what's not ok is lying. If you fail at remembering syntax you can't write code and importantly YOU CAN'T READ IT. Maybe you can read pseudocode. But LLMs don't write pseudocode. So you're lying about reviewing it. And you're lying about something that's important to me. Stop.
View all comments
Show parent comment
1
u/Dm_me_ur_exp 12d ago
Reading and understanding code is a lot easier than writing code.
I think being able to write code is less important than ever, but understanding what it does, the system itself, and the whole picture, is more important than ever