Contents
What kind of programming competition is code golf?
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.
Where did the term ” code golf ” come from?
In fact, some sources say that code golf originated as “Perl golf”. It’s no coincidence that in language-agnostic code golf challenges, a Perl solution is usually the winner.
Which is an example of a golfing language?
Examples include GolfScript and Flogscript, which are Turing-complete languages which provide constructs for concisely expressing ideas in code. Because golfing languages compete for extreme brevity, their design sacrifices readability which is important for practical production environments,…
Why are esoteric languages suitable for code golf?
Because golfing languages compete for extreme brevity, their design sacrifices readability which is important for practical production environments, and therefore they are often esoteric. Sometimes, however, a language is designed for a practical purpose, but turns out to be suitable for code golf.
Can you be a sponsor of code golf?
However hosting isn’t, so if you enjoy Code Golf consider donating to its continued existence and improvement via GitHub Sponsors . Sponsors will receive a shiny “Sponsor” badge on their profile and a warm fuzzy feeling in their heart. What Languages Are Supported?
What can you do on code golf Stack Exchange?
Shorthand Combined Functions. Code Golf Stack Exchange is a site for recreational programming competitions, not general programming questions. Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox.
When was code golf first used in Perl?
Whilst the term “code golf” was apparently first used in 1999 with Perl, and later popularised through the use of Perl to write a program that performed RSA encryption, a similar informal competition is known to have been popular with earlier APL hackers.
Where did the term code golf come from?
The term “code golf” is derived from the similarity of its goal with that of conventional golf, where participants seek to achieve the lowest possible score, rather than the highest, as is the standard in most sports and game scoring systems.