code golf

English

Etymology

By analogy with the sport of golf, in which players aim to sink the ball in the hole in the fewest strokes possible.

Noun

code golf (uncountable)

  1. (programming) A recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm.

See also