Re:Lessons from Creating a VSCode Extension with GPT-4
by darkerside on Thursday May 25, 2023 @10:00PM
(#36078864)
Depends 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.
Re:Lessons from Creating a VSCode Extension with GPT-4
by anotherpaulg on Thursday May 25, 2023 @11:58PM
(#36079686)
It can. I use aider/GPT-4 for this all the time. It’s super valuable and very low effort.
Re:Lessons from Creating a VSCode Extension with GPT-4
by still_grokking on Saturday May 27, 2023 @01:46AM
(#36092369)
If AI can write your tests, you're testing likely implementation details. This has "negative value"!
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.
Re:Lessons from Creating a VSCode Extension with GPT-4
by darkerside on Monday May 29, 2023 @03:00PM
(#36116816)
I 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.
Re:Lessons from Creating a VSCode Extension with GPT-4
by still_grokking on Wednesday May 31, 2023 @12:05PM
(#36139944)
Throwing 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.)
Re:Lessons from Creating a VSCode Extension with GPT-4
by darkerside on Wednesday May 31, 2023 @11:08PM
(#36147179)
Sorry, 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.
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.