logoalt Hacker News

fzeroraceryesterday at 10:13 AM1 replyview on HN

> Yeah, exactly. And LLM help developers save time from writing the same thing that has be done by other developers for a thousand times. I don't know how one can spins this as a bad thing

Do you ever ask why you're writing the same thing over and over again? That's literally the foundational piece of being an engineer; understanding when you're reinventing the wheel when there's a perfectly good wheel nearby.


Replies

porridgeraisinyesterday at 11:26 AM

When you make a function

  f(a, b, c)
 
It is reusable only if simply changing a, b, c is enough to give the function that you want. Options object etc _parameterise_ that function. It is useful only if the variability in reuse you desire is spanned by the parameters. This is syntactic reuse.

With LLMs, the parameterisation goes into semantic space. This makes code more reusable.

A model trained on all of GitHub can reuse all that code regardless of whether they are syntactically reusable or not. This is semantic reuse, which is naturally much broader.

show 1 reply