> Code golf is a type of recreational computer programming competition in which participants strive to achieve the shortest possible source code that implements a certain algorithm.
cmc: given two positive integers A and B, output all integers whose positive factors all lie between [A-B and A+B] inclusive. (if needed: a factor F of some integer K is an integer such that F times another factor = K)
> Several new languages have been created specifically with code golfing in mind. Examples include GolfScript, Flogscript and Vyxal, which are Turing-complete languages which provide constructs for concisely expressing ideas in code.
> The challenging nature of aggressively optimizing for program size has itself long been recognized, for example a 1962 coding manual for Regnecentralen's GIER computer notes that "it is a time-consuming sport to code with the least possible number of instructions" and recommends against it for practical programming.
He did mention golfing at IBM, and indeed, they wanted a specific algorithm, but he said he could only get it under the goal byte bit limit if he used a different algorithm.