logoalt Hacker News

cyberpunklast Tuesday at 8:15 PM2 repliesview on HN

i’ve stopped writing “real” code for the most part, i just bang out some pseudo code like:

    read all files in directory ending in .tmpl
     render these as go templates 
    if any with kind: deployment
      add annotation blah: bar
    publish to local kubeapi using sa account foo
 
and tell it to translate it to x lang.

so i control the logic, it handles the syntax.

asking it to solve problems for you never seems to really work, but it remembers syntax and if i need some kinda reader interface over another or whatever.

can’t help me with code reviews tho, so i spent most of my time reading code instead of remembering syntax. i’m ok with it.


Replies

Aeolunlast Tuesday at 9:40 PM

It can solve problems, as long as they’re practical, or things done before.

show 1 reply
tessierashpoolyesterday at 3:14 PM

yeah, that’s what works for me also. LLMs are a nightmare for debugging but a breeze for this.

another good use case: have it read a ton of code and summarize it. if you’re dealing with a new (to you) area in a legacy application, and trying to fix a problem in how it interacts with a complex open-source library, have the LLM read them both and summarize how they work. (while fact-checking it along the way.)