Hacker News new | ask | show | jobs
by repelsteeltje 46 days ago
Sorry for posting a n00b question, but could you share etymology on this term golfing?
3 comments

It’s manipulating the binary to make it as small as possible. In golf, the lowest score wins. So, in this context, the smallest binary that still works wins.
https://www.perlmonks.org/index.pl?replies=1;node_id=437032;...

As befits a history of perl, it is full of random quotes and rambling discourses about history, but it has a lot of info in it.

In golf, lower scores are better.
Which, if you think about it, means the objective of golf is to be the person who plays the least golf.