Hacker News new | ask | show | jobs
by martypitt 30 days ago
It's weird times.

I feel incredibly productive. I'm building in an afternoon what would've taken weeks. I spend all my time in either MR's reviewing code, or a terminal prompting.

I've moved from being a coder, to being a product-engineer-architect. I love coding -- LOVE it. But the role has morphed. And, I actually really like the new role. I love being product centric, and caring about architecture -- it suits me wel..

The code Claude produces is often clean, but terribly archictected. So I'm spending a lot of time reviewing in detail.

But the anxienty - OMG the anxiety.

I work on multple features (generally 4-5 work streams) concurrently, so am constantly context switching. I worry about how much time I'm spending on each task. Am I doing enough code review? Too much? Too little?

What about click-through testing? Our test coverage has never been higher - should I be able to just merge these features? Wasn't that always the promise of TDD - merging with confidence? But, it feels like a risk.

And, I'm moving really really fast - but I assume my competitors are too. So that drives me to move faster. Automate more. Use claude in more places. Which brings more anxiety - am I cutting too many corners? Is this all gonna crumble on me?

Also, is everything I'm working on going to become irrelevant? Will customers buy this product, or vibe code it? Do we even have a moat? Anxiety. More anxiety.

My investors are reading stuff constantly too. They're pinging me with market updates, emerging players, shifting landscapes. More anxiety. Also - productivity tools - look - internet influencer X is now producing a gajillion lines of code a second -- are we doing that? Are we token maxing? Are we feature maxing?

Are we building the right number of internal tools? Are we automating enough? Should I evaluate the market for this new tool, or just smash something out with claude? More features. Burn more tokens. Ship ship ship.

Having to explain to investors why we're not going as fast as those guys, and building enterprise products requires care and dedication -- that takes time. Time I should be shipping, coding, featuring, tokenizing. More anxiety.

I'm exhausted.

Anyway, gotta go - herdr has pinged me four times during writing this reply. Gotta ship.

7 comments

Some questions that bother me:

Are people reviewing all the tests that have been created automatically?

What about existing tests? How do we make sure that AI does not fake them (by silent changes or by faking the test output)?

edit: corrected typo

>Are people reviewing all the tests that have been created automatically?

No.

> How do we make sure that AI does not fake them by silently (by silent changes or by faking the test output)?

I have never seen this happen for a couple of months at least.

Well yeah you’re not reviewing the tests so you wouldn’t catch them.
You seem to forget what tests are.

They're representative of scenarios which your application can enter.

So if the tests were mocked and a bug went live he'd still notice, after all it means your software behaved incorrectly and now you gotta clean up the pieces.

But the purpose of a test is to catch a bug before it goes live.
This is becoming cyclical, did you forget what this comment chain went about?

The discussion went from tests being written by ai, to nobody actually reviewing the tests, to the claim that given those circumstances, you wouldn't notice that the tests may not tests anything anymore because of mocks.

My statement was merely pointing out that your previous comment was groundless because they still would've found out about those bugs when they went live.

That's a big issue in my team. We cannot really review tests manually, we already have too much just reviewing the code. And even then, sometimes the 'is this change necessary' question is forgotten or ignored (happened to me 20 minutes ago) because I an tired of fighting my junior+AI. I try to make AI refactor the tests every weeks ande that's it.
> Are people reviewing all the tests that have been created automatically?

Absolutely not! Some people ask a code assistant to write only integration/end-to-end tests and commit them. Unittests is only to help LLM generate correct code.

Yes, but periodic audits.
I'm actually unsure whether this is satire or not, which says volumes about the current moment
I feel so sorry for you and the kind of life you're building for yourself... I really hope this is a joke
I believe it.

I spend about 90% of at-computer time in a herdr-like tool.

It feels like playing factorio: whatever is manual needs to be automated away.

LLM writes the test. The test is crap. Update the skill. Ask an LLM to review your feedback on the last 5 PRs and write a skill for a review bot to look for similar problems and post. Now you only see PRs after they've gone through a few rounds of review.

The LLM has stopped picking up new issues. Ask an LLM to diagnose why. Ask an LLM to write a cron to regularly check if the LLM PR pipeline has halted and ping you. Get an LLM to try to diagnose it first.

I'm using a lot of LLMs! Ask an LLM to diagnose why. Write a tool to audit your usage, and produce a weekly report. Have it raise issue to reduce spending.

And like a base building game there are many competing facets, coming all at once.

Haha, I have been building my own software factory exactly like that. I consider it the ultimate factory game- but I sure as fuck would not want that to be my dayjob... Though I'm aware it will likely be that in a few years when the industries in my nation normalize around that.
No offense, but this feels like the most un-Factorio thing imaginable.

In factory building games, the systems in play can be understood and are fully deterministic. You're given a set of tools and a problem, and then craft together a solution. Your reward isn't just seeing the item you want on a conveyor belt, but looking at the factory you built ticking like clockwork.

What you're describing is beating out endless nondeterministic fires. It's like you were forced to play Factorio exclusively through an algorithm that designs incomprehensible factories that don't work sometimes, but designs them much faster than you ever could. So you click the magic button and see a mass of buildings appear in front of you. They may work perfectly fine, but if they don't, you need to use the same statistical factory estimator to build an in-game factory fixer mechanism and factory tester mechanism. And then a few updates later the factory fixer breaks so you need to deploy a factory fixer fixer, and a belt clean-up machine, and so on ad infinitum. To me this doesn't seem satisfying in the slightest.

I don't really see how it is as different as you say. Even if a system is stochastic, it can still be controlled, it's just a different type of engineering. Much of traditional engineering works exactly like this, with tolerances and probability rather than absolute determinism.

I think we (software engineers) are suffering from partial blindness to this aspect of engineering given that software has always been so extremely deterministic. We've trained ourselves that solving a problem means composing small fully deterministic parts into deterministic systems, and the prospect of having to work more with statistical confidence and managing failure modes feels scary and wrong.

No matter what your opinion on determinism is, the point I made that what OP is doing is very unlike a predictable and deterministic factory game still stands.

But beside that, I don't think that LLM non-determinism is really the same thing as what you see in engineering. Engineering has things like tolerances and redundancy, and while they accommodate random events, they're known, estimated and expected. They also deal with external factors, not the potential of shoddy engineering in the same system they're working on. The best way I can compare it is building a bridge that can withstand twice the normal expected full load and with enough structural redundancy to not collapse even after a prolonged lack of maintenance. These things account for many types of natural degradation and edge cases that are expected. And then there's building a bridge that you know will collapse in the next 10 years at a completely random moment, and instead of engineering a more robust solution, tacking on more gadgets to make the collapse less bad - automatic gates that close the entrances to the bridge, lake drainage system that will suck out the debris, a drone system that drops a brand new randomized bridge on the same spot, and so on. It doesn't feel very much like engineering.

If that doesn't sound convincing to you, consider one other thing. If you gave an engineer a non-deterministic solution and a deterministic solution to the exact same problem, which do you think they would prefer? Would they willingly remove determinism from a system? Maybe it's not the chaos of the real world that scares software developers so much - lots of them have to work on systems that directly interact with the real world. What if it's the fact that there is now a fight to take away their nice, understandable, satisfying deterministic solutions and inject probabilistic chaos into things that never had to have it in the first place - into absolutely everything?

> No matter what your opinion on determinism is, the point I made that what OP is doing is very unlike a predictable and deterministic factory game still stands.

I didn't mention determinism or predictability.

I said "It feels like playing factorio: whatever is manual needs to be automated away.".

I'm sure you can find many differences between Factorio and what I'm doing.

> If you gave an engineer a non-deterministic solution and a deterministic solution to the exact same problem, which do you think they would prefer? Would they willingly remove determinism from a system?

We choose non-determinism in our systems a lot, because we get better outcomes in other aspects.

* Non-deterministic network latency: Packet switching rather than circuit switching.

* Multi-tasking operating contending for the same resources.

* Multi process programs whose interleaving/execution is non-deterministic.

* Profile guided optimisation, depends on the profile.

* The entire field of randomised algorithms.

I prefer deterministic processes, but if the benefits of non-deterministic processes are significant enough, I pick non-deterministic.

Is management engineering?
Looks like written by an LLM, but it gives a realistic picture. The investors breathing down your neck is something that you don't want in this age, though.
I 100% did not write this with an LLM. I've run out of tokens.
I am fighting context switching by

- spending more time upfront working with agent on intent of the change, then design, so agent does not try to work around issues in a way that I don't intend to

- investing in ways in which agent can verify it's own change

- giving access to as much prod telemetry, etc so it can also verify the change post-merge

- obvious stuff, like automated review loops etc

But in the end I still read the "load bearing" parts of the code. Less closely, and I've long ago stopped looking at the tests. It's better for me than couple of months ago.

I just had an interview and they asked me prepare for coding live. I had to manually code bubble sort before the interview. It felt really nice, but it ended up them showing me some code and review it instead :facepalm:
Writing some code after months of agentic coding is so nice. “I remember this - it’s fun!”
>so am constantly context switching

a recipe for omni-disaster