logoalt Hacker News

layer8 • yesterday at 6:35 PM • 2 replies • view on HN

There seems to be be a level missing between “all code is written manually” and “most or all the code is written by an LLM”, which is where I’m at: Some code is written by an LLM where that is expedient, but it isn’t most code.


Replies

bgribble • today at 1:19 AM

This is me, too. I like using LLMs for review and solution brainstorming, even for tracking down bugs, but I am really resistant to letting it generate code. I have the luxury of being retired, coding for my own enjoyment and not having product delivery pressure.

That being said -- I know it's a slippery slope, but I am currently letting the LLM generate code ONLY in limited scenarios.

I think of it just a more sophisticated refactoring helper for tedious tasks that I can't quite get with a regex and :cdo in vim. Stuff like "Change the signature of XXX method in all subclasses of FooType to ..." I have also asked it to clean up type hinting issues in my Python code -- clean up type defs, add runtime tripwiring, etc.

I am definitely still writing most of the code by hand, though!

dimonomid • yesterday at 7:31 PM

The levels weren't supposed to be strict discrete points. Of course there is a spectrum between every two adjacent points, too. In the examples that follow in the article, I also mention levels that are in between.