Hacker News new | ask | show | jobs
by swatcoder 5 days ago
For things that learn (humans, AI's-while-training), it's a useful exercise.

And things that play (humans), it's a useful diversion.

The sport gives you an incentive to learn a language, library, or algorithm more deeply and to discover new ways to think about how they work. It's very useful.

1 comments

I suspect it may be useful for AIs too.

In current models, context is limited and attention is expensive, the shorter the code the more you can have in a given context window. Code golfing techniques could help a LLM see further within a given context window.