Hacker News new | ask | show | jobs
by dale_glass 20 days ago
Certainly! There's more than one way to do some things. Of course things like renaming are all well supported by pre-AI tech. But you do run into situations where LLMs are very helpful.

Like if you have some code that's been intentionally obfuscated, or made by somebody who names everything "a", "b" and "c", a LLM is likely to be of at least some help.

And yeah, you can do things like finding all the places where func() is called, but a LLM can also be helpful in saying where something needs to be done, which is a much fuzzier task.

1 comments

> LLM can also be helpful in saying where something needs to be done

Usually, If you don’t know that, you shouldn’t modify the system either. Just because you know how to unscrew a bold, you shouldn’t go about removing the head cover of an engine. Locating the area of interest takes a lot less time than actually understanding how it integrate, the guarantees provided by other systems and the guarantees that it offers.

Modularity in software architecture. By reducing the links between parts of the code, it’s easier for someone else to navigate the system and answer these questions. But it does require careful design and caring about the code. This and other things is what the engineering is about.

Everyone's got to start somewhere. Ideally you'd want to start from documentation and a mentor explaining everything, but sometimes you don't get that. The previous dev is long gone, the docs are clearly insufficient, or it's a dead open source project you're resurrecting. Got to make do and fumble around until you get stuff working.

In my own projects I'm also quite capable of forgetting stuff. Double checking with a LLM whether I forgot about one of the more obscure corners doesn't hurt.