Code golf is a computer programming competition where competitors try to create a program with the smallest amount of source code.[1] The term "code golf" comes from golf, where you need to score the lowest points. In code golf, you need to use the fewest letters.