logoalt Hacker News

porridgeraisinyesterday at 12:05 PM1 replyview on HN

A library is a collection of data structures functions. My argument still holds.

> Syntactic reuse would be macros

Well sure. My point is that what can be reused is decided ahead of time and encoded in the syntax. Whereas with LLMs it is not, and is encoded in the semantics.

> Pragmatics

Didn't know what that is. Consider my post updated with the better terms.


Replies

runarbergyesterday at 2:08 PM

I’m not sure your logic is sound. It sounds like you are insisting on some nuance which simply isn’t there. LLM generates unmaintainable slop, which is extremely difficult to reason about, uses wrong abstractions, violates DRY, violates cohesion, etc.

The industry has known how to reuse codes for two decades now (npm was released 16 years ago; pip 18 years ago). Using LLMs for code reuse is a step in the wrong direction, at least if you care about maintaining your code.

show 2 replies