those shortcomings. If a programmer was good at it, AI will amplify his strengths. Thinking of AI as an abstraction with its own set of interesting pros and cons is the way forward. Programming is not dead. Trust me, I deal with it everyday at work. (2/2)
"But fundamentally, reading and thinking still help you write correct code."
"Reading and thinking" was always the core of programming. We got sidetracked with 5000 JavaScript frameworks. If a programmer was not good at "reading and thinking" earlier, AI will just amplify (1/2)
With coding agents, you can choose not to read the code, but you still need to verify it. The question is whether you can verify it without reading anything at all.
Coding agents write good code, but much like humans, the code they output has defects. If you don't believe this, ask your coding agent to write some code, and then ask another agent to review it for correctness. The second agent will discover defects in any non-trivial code. However, to make matters worse, if you ask another agent with a different foundation model, it will find another set of defects. That's because LLM-based code review is neither deterministic nor perfect. In other words, you cannot write correct code with coding agents alone.
But I can ask the coding agent to write some tests, you may say. Yes, you can, and should, ask the coding agent to write some tests. You should ask the coding agent to write conformance and regression tests, fuzz tests, differential tests, and even deterministic simulation tests. However, even with high test coverage, you still don't have guarantees of correctness because you're fundamentally limited by what you or the coding agent remembered to test for.
So how do you write correct code with coding agents then?
Formal verification, you say. Yes, you can ask the coding agent to write a formal model of your software in Lean or whatever specification language you prefer. You can ask the coding agent to prove that the model is correct, and then, for example, use randomized differential testing to generate traces from your production code and the formal specification, and prove that the source code matches the formal specification. With these techniques, you will find interesting, hard-to-trigger bugs.
But how do you know your formal specification is correct? Well, you can ask the coding agent to explain your formal specification informally. For example, with Lean proofs, you can write an informal explanation in the spec and generate an HTML page with Verso. Or you can ask the coding agent to visualize generated traces from your Lean specification and the formal specification. With these techniques, you will have a good understanding of the specification and a reasonably strong proof that your program follows it.
However, even if you do all these things, there is still one more step you can take: read the specification (and some of the code) and think about it deeply. You can use the coding agent to read it, of course, by asking questions. You can even use the coding agent to help you think harder by filling in any gaps in your knowledge. But fundamentally, reading and thinking still help you write correct code.
one of the most problematic things about ai agents is that they prefer to "add" as much as they can. if a new agent run finds a contradiction in an old finding, it would add a whole section about what went wrong even if the fix was of 1 line.
does anyone know how to manage this?
I think I'm starting to degrade as an engineer
1. I stopped keeping up with programming languages, libraries, new patterns, systems, and all of that a long time ago. I couldn't care less about what's new in React, what got added to PyTorch, or what's in the latest ES spec. I can't even make myself spend 5 minutes skimming the docs
2. The amount of task context and information I hold in my head has shrunk to a minimum. When I used to research a topic through Google, I'd pick up a ton of interesting things along the way and broaden my horizons. Now an agent sends me something, and without even looking I say: ok, use it
3. My attention span has gotten worse. All I do is wait. On one hand, I think that's better than faking hyperproductivity, burning millions of tokens and degrading the work. I'm a firm believer in the linear approach. On the other hand, a 5-minute wait can stretch into 30. I switch to something else and find it hard to get back to the task
4. My anxiety has gone up. A lot of people call this cyberpsychosis. I wake up thinking about agents. I eat thinking about agents. I go for a walk thinking about agents. I talk to people thinking about agents. Even when I'm not working with agents, I'm thinking about what cool things I could do with them and planning my next session with them
5. I've become hyper-lazy. If something can't be solved with agents, I try not to do it at all
6. My creativity has faded. I may not be the strongest engineer, but I consider myself creative. That was always my strength. I could always come up with something interesting, an interesting solution. But that happened while I was working on something. Running into problems. Taking in new information. My brain was in a continuous flow. Now I've become dull and one-dimensional. I can no longer look at a problem from a different angle
I'm sure everyone who works with AI has these problems at least to some degree, even if few admit it. I worry that humanity will stop developing. AI is not the solution to every problem or a cure for every disease. It's a tool pretending to be an agent in its own right. In its current architectural forms, it will never be able to go beyond its own limits. A human can. But once people slip into the state I'm in, progress may slow down and get locked inside the bubble of what AI is capable of
something has changed at @thesouledstore, their collection lately has been mid at best... been buying clothes from them since 2018 and this year, i'm very disappointed. the collection started becoming bad when sara ali khan invested but now it has hit an all time low :(
Agent work is the most frustrating and deeply unsatisfying way of working I’ve experienced
It is impossible to get in the flow of a task when you have 3 separate things going on, each step of progress needs you to wait 1-3 mins per task, then needing to parse a big wall of text before you decide the next step
And while you’re waiting for information to become available you inevitably get distracted, making the task even longer because you forget all the things going on in parallel (hence why I’m writing this tweet)
I don’t know what the solution or if there even is one but I wish there was something better than just an endless sidebar of tabs fighting for my limited attention
My new blog alert: How x402 lets AI agents pay for resources over HTTP, role of Cloudflare Monetization Gateway and what a payment-ready AI agent needs.
https://t.co/G6hqy8j7q3
@NabhaniMehdi yes! and now you can fail faster. which is a great filter for ideas that seem revolutionary when you first think of them but later turn out to be not-so-revolutionary.
@MasoNKai720 for me, formalizing and refining the requirements has been the biggest hurdle. with opus 5.5, this part has become faster and easier. i can now ideate, refine, and roll out a working prototype in a matter of few hours. this would have taken days earlier.
@sAignals_dev oh so many! always wanted to build a personalised dsa grinding workflow complete with spaced repetition. built that. making a suite of tools to manage career records, resume, job applications. fun times!
i love that ai has now enabled me to build hyper-personal software suite. a few years back, this would have not been possible entirely because of time constraints. after months of worrying about my job, i think i am finally beginning to get excited about everything ai.