logoalt Hacker News

dgacmu • today at 5:25 PM • 0 replies • view on HN

Because the same process that we use to make them human-understandable is the process we use to make them generalizable and reusable, and those same features are good whether it's humans or AI doing the work.

As a software engineer, you can read this code instantly:

    temp = a;
    a = b;
    b = temp;
But when it happens in the middle of a big chunk of code it still takes a little more work to read than

    swap(a, b);
whether you want to think about it as human attention and working memory, or token budgets and context windows, humans and LLMs all benefit from introducing abstractions that let us reuse existing solutions.