4 ms·
> Writing code does not take most of the day. Definitely this. I spend about 10-15% of my time writing code so a 20% increase really doesn't save me a lot of t
by pfsalter 3y ago
> Writing code does not take most of the day.
Definitely this. I spend about 10-15% of my time writing code so a 20% increase really doesn't save me a lot of time. Also AI generated code requires more reading of code, which is harder and more cognitively expensive than writing code.
- darkerside 3y agoDepends on the code. If AI can quickly write even mediocre quality automated tests, that's a tremendous speedup, and, if I'm being totally honest, morale boost.
- anotherpaulg 3y agoIt can. I use aider/GPT-4 for this all the time. It’s super valuable and very low effort.
- still_grokking 3y agoIf AI can write your tests, you're testing likely implementation details. This has "negative value"! https://www.youtube.com/watch?v=EZ05e7EMOLM https://www.youtube.com/watch?v=EZ05e7EMOLM But an AI can't write higher level tests as it would need to understand large chunks of code (sometimes whole systems), which it can't.
- darkerside 3y agoI disagree about negative value. When it's this easy to throw away and rewrite tests, it's helpful to test the implementation details of your code.
- still_grokking 3y agoThrowing away and rewriting tests is work (== negative value). Testing implementation details is always contra productive. Have you watched the video? (I'm not recommending videos often, as I think writings have more value per time-unit, but this talk is a kind of classic on that topic.)
- darkerside 3y agoSorry, I can't accept that a one hour video is the cost to participate in this conversation. I don't disagree that there is a cost associated with doing this, but the cost is so much smaller than it used to be that it can be economical now. Implementation details are in the eye of the beholder IMO. I'm open to reasons why that's not the case here.