Hacker News new | ask | show | jobs
by ciconia 1124 days ago
> How many times do you need to write a CRUD app from scratch?

Personally, I really don't mind doing this. And each time I get a little better at it. I much prefer this to having an AI agent write code for me that I then have to audit and verify it does what it's supposed to do. I highly doubt this will reduce work.

3 comments

I actually agree with the doubt of it reducing work in general. In my experience it depends a lot on the person who is using an AI agent.

I have seen it multiple times that people were using ChatGPT or GitHub Copilot to, without thinking about it, paste some code into their application and then mindlessly removing and adding code based on the AIs responses until it finally worked. In the end the devs didn’t know why it worked and the implementation was rather bad.

Of course it lets you generate boilerplate code and I use Copilot for this purpose all the time. But you have to pay extra attention and recognize it when the AI is NOT generating boilerplate code.

Reading code that you know what is supposed to do and testing it works correctly is a lot faster than writing all the said code. Reading is much faster than writing.

I also don’t mind writing this sort of code and I’m actually quite fast at writing it but AI is just on another level. Simple stuff like this it gets right almost every time and even does well on slightly more complicated stuff.

> Reading is much faster than writing.

Not in my experience, especially not reading code someone else wrote.

If that’s your preferred MO, then I can’t argue with that. But based off your response, it seems like you haven’t tried it yet. I would recommend at least giving it a try.