Ask HN: How are you using LLM's for code?
I'd like to integrate AI into my workflow more but I'm still hand writing the vast majority of code.
I've found some success with sketching out the structure -- I'll write functions with type signatures and then an empty body with a comment of what I want and then go through all of these and let an LLM fill out the bodies. This works pretty well for simple functions but anything requiring more context requires a complete rewrite from me.
I'll also sometimes ask how to do a thing instead of searching, but then usually I'll still need to do a search anyways to verify it wasn't a hallucination.
These can be helpful speedups, but I feel like I'm still leaving a lot on the table. Does anyone heavily incorporate LLM's when coding? How are you using LLM's?
3 comments
[ 93.1 ms ] story [ 178 ms ] threadI imagine I want them to do some scaffolding on a keypress with certain query templates, but for many problems there already is a good implementation that I can just use.
Anyone tried to let AI do some codegolf? Someone graveyarded this good question:
https://codegolf.stackexchange.com/questions/107050/primes-w...