-4
\$\begingroup\$

What in the world is code golf and how is it important to me? I have already looked in the tour.

\$\endgroup\$
1
  • \$\begingroup\$ In order to find more about a topic, if it's a tag you can go to the tag page and click learn more. \$\endgroup\$
    – Wezl
    May 20 at 13:13
5
\$\begingroup\$

Code Golf is a mostly-recreational semi-competitive exercise in writing code, where the objective is to accomplish the aim using the least amount of code in the programming language chosen. (Compare with the familiar game of golf, where the objective is to get the ball into the hole with the least number of strokes.)

Only you can decide how – or whether – it is important to you.

With some languages, “golfing” encourages familiarity with “idiomatic” constructions. It also encourages thinking “out of the box” when attempting to solve the given problem.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .