logoalt Hacker News

prmph • today at 2:07 AM • 1 reply • view on HN

An abstraction is not only for avoiding repetition; it's for gaining deeper insight into what you are actually doing.


Replies

dsego • today at 7:13 AM

I constantly have to push Claude to refactor code and extract pieces, not because the nesting is too deep or there is too many lines in a single function, but just to name things and give them meaning. LLMs tend to produce obscure code that doesn't aid understanding.

➕ show 1 reply