Hacker News new | ask | show | jobs
by Randgalt 50 days ago
Quality of life libraries like Lombok (or my library https://github.com/Randgalt/record-builder) are now anachronisms. Agents don’t need libraries to avoid writing getters, setters, etc. Lombok et al are for humans and the days of human coding are ending, sadly.
3 comments

With that logic every library ever created is now anachronism. Agent can just always code using standard library of the programming language.
Maybe that's not a bad idea.
No, it's a bad idea.

Coding agents are not omniscient gods. Cognitive complexity of code is still a thing for LLMs. And every line of code that the LLM writes is still a line that needs maintenance, and has bugs.

Software engineering rules still apply. Coding agents move the needle somewhat on "what can be maintained by us vs. what someone else can maintain" but not _that_ far. And the same "Don't maintain it if you don't have to" approach still applies. More code to maintain means bigger context required, which means the agent burns more tokens to do a task. More context also means the agent makes more mistakes and adds more bugs.

Abstractions are still a good idea. Handing off maintenance through abstractions is still a good idea. Good software design is still a good idea.

Lots to agree; I am certainly feeling it these days. I used to be excited for new language features (records, pattern matching) but I was looking at the recently posted Devoxx conference talks on Youtube and for every one of these, I was thinking "what's the point? The code will be written by an agent anyway".
they don't need it, but it surely saves some tokens since it just expresses the intention of the code in a denser way.

agents make dealing with boilerplate easier, but that doesn't change that boilerplate itself is just bad