| ▲ | geraneum 3 hours ago | ||||||||||||||||||||||||||||||||||||||||
Does the code get reviewed? How do you deal with increased amount of code that may need to be looked at? | |||||||||||||||||||||||||||||||||||||||||
| ▲ | Ampersander 19 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
If you're going to be reading the code you might as well write it by hand instead of using AI. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | simonw 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
I review the code that matters - anything security adjacent or that's an API that will be used by other code in the future. I don't review code that either works or doesn't - most HTML and CSS layout code for example. There I test it on desktop and mobile and commit it if it works. Ditto for stuff that's simple. A JSON endpoint that runs a SQL query and returns some JSON? If it works and a glance at the tests looks OK then I trust my agents wrote it properly. I'm getting more confident with my judgement over what needs a close look and what doesn't over time, as so far I haven't been majorly burned my any mistakes that snuck through. Honestly, it's similar to being an engineer on a larger team. You don't review every line of code written by every one of your coworkers. I think this is THE issue of our time as programmers to be honest: do you review every line of code an agent writes? An increasing number of expert programmers are moving in the direction of NOT reviewing every line. It's working out OK for a lot of them. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||