logoalt Hacker News

simianwordstoday at 4:56 AM2 repliesview on HN

People misunderstand how AI is used in coding in normal work environments. New feature requirement comes - maybe you need a new service or some new classes. You need to do some research first.

You guide the AI with some prompts and give it some guidance on how to scenario-test it. It makes some classes, test methods. Maybe ~2000 lines and you do a quick verification, check if the overall idea looks okay. Ask it to fix a few design things and then merge it.

Its much easier than doing it yourself with all the boilerplate and understanding each esoteric language specific thing. Which library do I use for UDP communication in golang? The agent might have made a good assumption. These kind of things is where it speeds it up.


Replies

vips7Ltoday at 5:18 AM

If you don’t know what library to use in your specific language, do you think you know enough to have an LLM generate most of it?

show 2 replies
whattoday at 5:21 AM

Yes, just throw 2kloc over the wall for some feature. Your coworkers must love you.

show 2 replies