Live data from Hacker News

Ask HN: How is AI-assisted coding going for you professionally?

news.ycombinator.com

461–470 of 657 posts

Re: Ask HN: How is AI-assisted coding going for you professionally?

#461
post #71

Earlier quoted context omitted.

Yes, I can absolutely imagine that.

Eh, sorry, I may have been too quick to judge, but in the past when I have shared examples of AI-generated code to skeptics, the conversation rapidly devolves into personal attacks on my ability as an engineer, etc.

I think the challenge is to not be over-exuberant nor to be overly skeptical. I see AI as just another tool in the toolbox, the fact that lots of people produce crap is no different from before: lots of people produced crappy code well before AI.

But there are definitely exceptions and I think those are underexposed, we don't need 500 ways to solve toy problems we need a low number of ways to solve real ones.

Some of the replies to my comment are exactly that, they show in a much more concrete way than the next pelican-on-a-bicycle what the state of the art is really capable of and how to achieve real world results. Those posts are worth gold compared to some of the junk that gets high visibility, so my idea was to use the opportunity to highlight those instead.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#462
A guy on the team passes the issues he gets directly to Copilot, and holy crap, it shows. He hasn't admitted to doing it, but the full code rewrites whenever he's asked to change something are telling.

I'm getting tired, honestly. I'd prefer the simpler "I don't know" of old to six pages of bullshit I have to review.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#463

Most replies here are about writing code faster. But there's a gap nobody's talking about: AI agents are completely blind to running systems. When you hit a runtime bug, the agent's only tool is "let me add a print statement and restart". That works for simple cases but it's the exact same log-and-restart loop we fall back to in cloud and containerized environments, just with faster typing. Where it breaks down: timi…

easy, give the logs timestamps, the LLM can sort the order.

Timestamps aren't the issue. The problem is the cycle itself: stop the process, add the log line, restart, wait for the right conditions to hit that code path again. For anything timing-sensitive or dependent on external state, each restart changes what you're trying to observe.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#464
I'm an ex-FAANG engineer working for a smaller (but still big enough) company.

At work we use one of the less popular solutions, available both as a plugin for vscode and as a claude code-like terminal tool. The code I work on is mostly Golang and there's some older C++ using a lot of custom libraries. For Golang, the AI is doing pretty good, especially on simple tasks like implementing some REST API, so I would estimate the upper boundary of the productivity gain to be maybe 3x for the trivial code.

Since I'm still responsible for the result, I cannot just YOLO and commit the code, so whenever I get to work on simple things, I'm effectively becoming a code reviewer for the majority of time. That is what probably prevents me from going above 3x productivity; after each code review session I still need a break so I go get coffee or something, so it's still much faster than writing all the code manually, but the mental load is also higher which requires more breaks.

One nontrivial consequence is that the expectations are adapting to the new performance, so it's not like we are getting more free time because we are producing the code faster. Not at all.

For the C++ codebase though, in the rare cases when I need to change something there, it's pretty much business as usual; I won't trust the code it generates, and would rather write what I need manually.

Now, for personal projects, it's a completely different story. For the past few months or so, I haven't written any code for my personal projects manually, except for maybe a few trivial changes. I don't review the generated code either, just making sure that it works as I expect. Since I'm probably too lazy to configure the proper multi-agent workflow, what I found works great for me is: first ask Claude for the plan, then copy-paste the plan to Codex, get its feedback back to Claude, repeat until they agree; this process also helps me stay in the loop. Then, when Claude implements the plan and makes a commit, I copy-paste the commit sha to Codex and ask it to review, and it very often finds real issues that I probably would've missed.

It's hard to estimate the productivity gain of this new process mostly because the majority of the projects I worked on these past few months I would've never started without Claude. But for those I would've started, I think I'm somewhere near 4-5x compared to manually writing the code.

One important point here is that, both at work and at home, it's never a "single prompt" result. I think about the high level design and have an understanding of how things will work before I start talking to the agent. I don't think the current state of technology allows developing things in one shot, and I'm not sure this will change soon.

My overall attitude towards AI code generation is quite positive so far: I think, for me, the joy of having something working so soon, and the fact that it follows my design, outweighs the fact that I did not actually write the code.

One very real consequence of that is I'm missing my manual code writing. I started going through the older Advent of code years where I still have some unsolved days, and even solving some Leetcode problems (only interesting ones!) just for the feeling of writing the code as we all did before.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#465

Originally my workflow was: - Think about requirement - Spend 0-360 minutes looking through the code - Start writing code - Realize I didn't think about it quite enough and fix the design - Finish writing code - Write unit tests - Submit MR - Fix MR feedback Until recently no LLM was able to properly disrupt that, however the release of Opus 4.5 changed that. Now my workflow is: - Throw as much context into Opus as p…

My workflow is something very similar. I'd say one difference now is PRs actually take longer to get merged, but it's mainly because we ignore them and move onto something else while waiting for CI and reviews. It's not uncommon for a team member to have multiple PRs open for completely different features.

Context switching is less painful when you have a plan doc and chat history where you can ask why yesterday afternoon you (the human) decided to do this thing that way. Also for debugging it's very useful to be able to jump back in if any issues come up on QA/prod later. And I've actually had a few shower thoughts like that, which have allowed the implementations of some features to end up being much better than how I first envisioned it.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#466

Most replies here are about writing code faster. But there's a gap nobody's talking about: AI agents are completely blind to running systems. When you hit a runtime bug, the agent's only tool is "let me add a print statement and restart". That works for simple cases but it's the exact same log-and-restart loop we fall back to in cloud and containerized environments, just with faster typing. Where it breaks down: timi…

I've used agents to look at traces, stack dumps, and have used them to control things like debuggers. I've had them exec into running containers and poke around. I've had them examine metrics, look into existing logs, look at pcaps, and more. Any kind of command I could type into a console they can do, and they can reason about the outputs of such a command. In fact last night I had it hacking away at a Wordpress tem…

That's close to what I'm thinking about. Curious what debugger setup you're using with agents - are you giving them access via MCP or just having them run CLI commands?

Re: Ask HN: How is AI-assisted coding going for you professionally?

#467

It has made my job an awful slog, and my personal projects move faster. At work, the devs up the chain now do everything with AI – not just coding – then task me with cleaning it up. It is painful and time consuming, the code base is a mess. In one case I had to merge a feature from one team into the main code base, but the feature was AI coded so it did not obey the API design of the main project. It also included a…

Thst is definitely one tell, the hand rolled input parsing or error handling that people would never have done at their own discretion. The bigger issue is that we already do the error checking and parsing at the different points of abstraction where it makes the most sense. So it's bespoke, and redundant.

That is on the people using the AI and not cleaning up/thinking about it at all.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#468
post #149

I don't use it. I know my mind fairly well, and I know my style of laziness will result in atrophying skills. Better not to risk it. One of my co-workers already admitted as much to me around six months ago, and that he was trying not to use AI for any code generation anymore, but it was really difficult to stop because it was so easy to reach for. Sounded kind of like a drug addiction to me. And I had the impression…

I use AI to discuss and possibly generate ideas and tests, but I make sure I understand everything and type it in except for trivial stuff. The main value of an engineer is understanding things. AI can help me understand things better and faster. If I just setup plans for AI and vibe, human capital is neglected and declines. I don't think there's much of a future if you don't know what you're doing, but there is alwa…

I think you are right, deep understanding of systems and domains will not become obsolete. I forsee some types of developers moving into a more holistic systems design and implementation role if coding itself becomes quite routinely automated.

Re: Ask HN: How is AI-assisted coding going for you professionally?

#470

I work at a FAANG. Professionally, I have had almost no luck with it, outside of summarizing design docs or literally just finding something in the code that a simple search might not find: such is this team's code that does X? I am yet to successfully prompt it and get a working commit. Further, I will add that I also don't know any ICs personally who have successfully used it. Though, there's endless posts of peopl…

Same here. My take is that the codebase is too large and complex for it to find the right patterns. It does work sometimes. The smaller the task, the better.

Isn’t that fixed by having it create a plan, then you review it and say “x should do y instead”, it updates the plan, iterate then “build the plan”?
Post reply on HN