Earlier quoted context omitted.
Do you mean, from your perspective, within 2 years humans won’t be able to bring anything of value to the equation in management and control ?
No, I mean that my job in its current form – as an ML researcher with a phd and 15 years of experience - will be completely automated within two years.
How to effectively write quality code with AI
241–250 of 321 posts
Re: How to effectively write quality code with AI
#242Earlier quoted context omitted.
> A lot of how I form my thoughts is driven by writing code, and seeing it on screen, running into its limitations. Two principles I have held for many years which I believe are relevant both to your sentiment and this thread are reproduced below. Hopefully they help. First: When making software, remember that it is a snapshot of your understanding of the problem. It states to all, including your future-self, your ap…
To your first point - so are my many markdown files that I tell Codex/Claude to keep updated while I’m doing my work including telling them to keep them updated with why I told them to do certain things. They have detailed documentation of my initial design goals and decisions that I wrote myself. Actually those same markdown files answer the second question.
Re: How to effectively write quality code with AI
#243Earlier quoted context omitted.
No one who has any knowledge or who has ever used an LLM expects determinism. And there are no computer professionals who haven’t heard about hallucinations. Reviewing whether the code meets requirements through manual and automated tests - and that’s all I cared about when I had a team of 8 under me - is the same regardless. I wasn’t checking whether John used a for loop or while loop in between my customer meetings…
There are so many types of requirements though. Security is one, performance is another. No one has cared about while/for for a long time.
Re: How to effectively write quality code with AI
#244> Use strict linting and formatting rules to ensure code quality and consistency. This will help you and your AI to find issues early. I've always advocated for using a linter and consistent formatting. But now I'm not so sure. What's the point? If nobody is going to bother reading the code anymore I feel like linting does not matter. I think in 10 years a software application will be very obfuscated implementation c…
That's the opposite. I've never read and re-read code more than i do today. The new hires generate 50 more code than they use to, and you _have_ to check it or have compounding production issues (been there, done that). And the errors can now be anywhere, when before you more or less knew what the person writing code is thinking and can understand why some errors are made. LLMs errors could hide _anywhere_, so you ha…
Re: How to effectively write quality code with AI
#245Earlier quoted context omitted.
To your first point - so are my many markdown files that I tell Codex/Claude to keep updated while I’m doing my work including telling them to keep them updated with why I told them to do certain things. They have detailed documentation of my initial design goals and decisions that I wrote myself. Actually those same markdown files answer the second question.
It's almost like programming via markdown.
Re: How to effectively write quality code with AI
#246Re: How to effectively write quality code with AI
#247Earlier quoted context omitted.
Anyone who’s been a developer for more than 10 minutes knows that best practices are hard to always follow through on when there’s pressure to ship. But there’s more time to do some of these other things if the actual coding time is trending toward zero. And the importance of it can go up with AI systems because they do actually use the documentation you write as part of their context! Direct visible value can lead p…
> Anyone who’s been a developer for more than 10 minutes knows that best practices are hard to always follow through on when there’s pressure to ship. > But there’s more time to do some of these other things if the actual coding time is trending toward zero. I think you'll find even less time - as "AI" drives the target time to ship toward zero.
Re: How to effectively write quality code with AI
#248Sounds like an awful lot of work and nannying just to avoid writing code yourself. Coding used to be fun and enjoyable once...
My recent experience: I'm porting an app to Mac. It's been in my backlog for ~2 years. With Claude I had a functional prototype in under a day getting the major behavior implemented. I spent the next two weeks refactoring the original app to share as much logic as possible. The first two days was lots of fun. The refactoring was also something I wanted to flush out unit tests, still enjoyable.
The worst part was debugging really bugs introduced to my code from 5 years ago. My functions had naming issues describing the behavior wrong, confusing Claude, that I needed to re-understand to add new features.
Parts of coding are frustrating. Using AI is frustrating for different reasons.
The most frustrating part was rebasing with git to create a sensible history (which I've had to do without AI in the past), reviewing the sheer volume of changes (14k lines) and then deciding "do I want my name on this" which involved cleaning up all the linter warnings I'd self imposed on myself.
Re: How to effectively write quality code with AI
#249I wonder at the end of this if it's the still worth the risk? A lot of how I form my thoughts is driven by writing code, and seeing it on screen, running into its limitations. Maybe it's the kind of work I'm doing, or maybe I just suck, but the code to me is a forcing mechanism into ironing out the details, and I don't get that when I'm writing a specification.
Coding is significantly faster but my understanding of the system takes a lot longer because I’m having to merge my mental model with what was produced.
Re: How to effectively write quality code with AI
#250Earlier quoted context omitted.
The previous second order effect is more likely. For the one orchestrating 8 bots, 7 others are not needed anymore.
So far in my career I have always had more requests coming in than implementations going out. If I can go 3 or 10 times faster, than I will still have plenty of work. Especially for the slew of ideas that are never even considered to put towards a dev, because it's already considered to be too low value to have it even be considered to be build. Or the ideas that are so far fetched they were never considered feasible…