5
\$\begingroup\$

I'd like to know if codegolf does allow other kinds of challenges, like memory-size related ones (Given a structure, try to use the least amount of bits to store the same information) and so on. I don't know if this kind of challenge fits codegolfing or not.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ If you have an idea for a challenge, you can post it in the sandbox to get feedback on how to ensure it's a good fit for the site. \$\endgroup\$ Sep 7, 2016 at 16:28

3 Answers 3

18
\$\begingroup\$

There are two different usages of "code golf" here:

The tag is applied to challenges which involve competing to produce the shortest valid source code. More details and a list of challenges can be found by clicking on the tag name.

This website, "codegolf.stackexchange.com", has the full name Programming Puzzles & Code Golf. This site has several different challenge types, code golf being just one of them.

For example:

Sometimes people post challenges that have their own scoring method that does not fit exactly into one of these categories. These are tagged , and the challenge post contains a detailed description of how submissions will be scored.

We also have non-challenge questions, asking for advice on solving such challenges. These are tagged .

\$\endgroup\$
1
\$\begingroup\$

From the tag wiki:

Code-golf is a competition to solve a particular problem in the fewest bytes of source code. If you want to score by characters instead of bytes, state this explicitly in the challenge. If source code length is not the primary scoring criterion, consider using another tag instead.

So, no, code golf is solely about code length.

\$\endgroup\$
1
0
\$\begingroup\$

No

is only about the shortest code in any language. Other challenges are tagged .

\$\endgroup\$
3
  • \$\begingroup\$ I see, thanks. Do challenges like the one i described already exists? inside or outside of stackexchange, i don't see a tag related to my interest. \$\endgroup\$
    – Agggg
    Sep 7, 2016 at 10:56
  • \$\begingroup\$ @Agggg There is fastest-code for the fastest code possible, but for 'memory golf', tag your challenge as code-challenge and describe the winning criteria (here, the least memory used by a program) \$\endgroup\$ Sep 7, 2016 at 11:19
  • \$\begingroup\$ @Agggg The craziest of all: code-bowling is about the longest code possible. \$\endgroup\$ Sep 12, 2016 at 4:56

You must log in to answer this question.

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