Questions tagged [discussion]

The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.

Filter by
Sorted by
Tagged with
11 votes
1 answer
244 views

Announcing the CodeGolf.SE Second Periodic Premier Programming Puzzle Push

Whereas The site has suffered from low traffic for weeks We've been in beta for 271 days and our numbers are marginal Too many recent question have been both too easy and poorly specified Users have ...
3 votes
2 answers
97 views

Are questions about designing code contests on-topic here?

I'm a moderator on Programmers, and we just received a question asking for advice and feedback about a code contest the poster is designing: Would This Work As A New Obfuscated C Code Contest? ...
user avatar
6 votes
3 answers
183 views

Edits to other people's answers

Related to a previous question, but sufficiently different that I think it merits its own discussion. Now that I've hit 2000 rep I have access to some mod tools, which include the ability to approve ...
  • 42.8k
5 votes
4 answers
221 views

FAQ/code-challenge don't seem to match actual code challenge questions

The code-challenge blurb states: A code challenge is a competition for creative ways to solve a programming puzzle for an objective criterion other than code size. The FAQ states: All ...
  • 1,057
18 votes
2 answers
882 views

New Code-Golf metric: Atomic-Code-Golf

I posted this on the Puzzle Lab chat, but it didn't get much response (except for Gareth...thanks Gareth!). Thus, I'm posting it here. Please feel free to chat on the Puzzle Lab if you have input ...
  • 2,616
10 votes
2 answers
236 views

We need more discipline and downvotes

When I take the time to test solutions of competitors, I sometimes find failing answers, which not even solve the examples. I don't want to discuss a certain question and its solutions, but we all ...
  • 4,565
1 vote
2 answers
228 views

What language is this - often used on code golf

I've seen a couple of questions which use a language which has the following chracters: <>-+.[] What language is that?
8 votes
3 answers
316 views

comparing fastest code

To compare solutions on performance, we should form a kind of template, what to specify or how to specify the question. I realized, when trying to solve fast line drawing algorithm, that it is not ...
  • 4,565
5 votes
1 answer
370 views

should imports/includes count in golf [duplicate]

follow the title mainly I'm asking this so I know whether to count all the import declarations that are required for the code to run successfully (especially when the import/include is required in ...
6 votes
2 answers
347 views

New puzzle type: code-shuffleboard

Before I discovered that code golf was "a thing", I'd played against myself quite a bit. Often, I'd get down to 104 characters, say, and crank on it until I could get it to 100. But, if I can't get ...
  • 9,597
5 votes
1 answer
186 views

Do "How do I get from problem to algorithm?" questions have a place on CodeGolf.SE?

We've seen several migrations from Stack Overflow recently (including one that was eventually un-migrated), and it is clear that not everyone on Stack Overflow understands the fairly restrictive rules ...
7 votes
2 answers
2k views

Brainfuck challenges?

EDIT: Clarified my point after seeing dmckee's answer. I just discovered brainfuck and find it really amusing. It seems to me that it is a perfect material for programming puzzles (especially code-...
8 votes
1 answer
177 views

Should question proposers be expected to have a coded answer before they propose?

All too often I look at questions proposed here and I think: "The proposer clearly doesn't have a running solution to this question." Should we make it an expectation that before posting a question, ...
  • 4,919
3 votes
1 answer
178 views

Some clarification on JavaScript code golf solutions

I always try to use JavaScript when posting a code golf solution, but there are a few things I'm wondering: It is said that global variables are allowed. However, what if the code can therefore only ...
  • 829
5 votes
2 answers
125 views

Is there a way to easily find questions that aren't code golf?

I found this question from January, but the top voted idea doesn't seem to have been implemented. In this time between the end of school and starting work, I would love to get some solutions to ...
5 votes
4 answers
377 views

Define new languages?

Can I define some new languages, to be used in future code golfs? For example, CG-VB.NET would be a language which is equivalent to itself as VB.NET code, but wrapped in: ...
  • 5,347
1 vote
2 answers
234 views

Counting Newlines [duplicate]

Possible Duplicate: Line break formats and character numbers Do we count newlines in code-golf? I know newlines are almost redundant in code-golf, but imagine it's a language requirement. How ...
  • 1,945
9 votes
4 answers
565 views

Help us come up with rules who should be rewarded with an iPad2 for making the site great

dmckee has recently started the "1P5" to improve the quality of posts, the quantity of (good!) posts, and the motivation of users on this site. We (Stack Exchange Inc.) think that this is a really ...
  • 601
13 votes
6 answers
1k views

What makes winning criteria "objective"?

The FAQ says (in part) All questions on this site, whether a programming puzzle or a code golf, should have [... an] objective primary winning criterion, so that it is possible to indisputably ...
6 votes
5 answers
382 views

New contest type proposal.

I'd like to suggest that to date we have missed a class (or maybe two) of programming puzzles. ai-player would indicate a game played against a defined (but initially unknown) input or against a ...
25 votes
1 answer
1k views

Announcing the CodeGolf.SE First Periodic Premier Programming Puzzle Push

This Programming Push has ended ::sigh:: But we may do another in a few weeks or months, and your high quality contributions are always welcome. Whereas The site has suffered from low traffic for ...
3 votes
1 answer
242 views

Would the "What is your solution to the FizzBuzz problem" question belong here?

Would the FizzBuzz question belong here?
153 votes
17 answers
9k views

J and GolfScript suck all the enjoyment out of Code Golf

I have found code-golf a fascinating pastime for several weeks now. However, I’m already losing interest because the contests allow any language, and because of that it is pretty much impossible for ...
  • 12.4k
5 votes
1 answer
198 views

Are "restricted programming" problems on topic?

I'm not sure if "restricted programming" is the right term for what I'm thinking about. I'm referring to questions of the form: "Complete [some task] in [some specific language] without [some obvious ...
9 votes
3 answers
347 views

Can code-golf answers be too slow?

This answer is a fairly extreme example. For the largest input it would create an array with 1.048576e+26 elements which is not going to fit in RAM anytime soon (maybe not even physically possible). ...
  • 14.9k
5 votes
1 answer
212 views

Is "cleverness" valid as the sole criteria for a puzzle?

This question was migrated in this morning. It was asked about a year ago on Stack Overflow, as a sort of alternative to the then-established Code Golf niche. If you've never had a chance to read ...
  • 101
20 votes
2 answers
3k views

On "interactive" answers and other special conditions

Interactive languages (and related issues) have afflicted me with a bunch of gripes regarding character count and program testing. Clarifying these should help coders in other languages like ...
5 votes
0 answers
166 views

Why was my challenge not interesting?

In the interest of upping the quality of challenges I may post in the future, I would like to hear your opinions and comments on the challenge I posted two weeks ago: Turn 2D boolean array into (...
  • 12.4k
10 votes
4 answers
701 views

Should executable binaries be considered a reasonable solution for code-golf?

I was under the impression that the point in code-golf was to generate the shortest source code in some programming language. However, some of the answers are binary files, e.g. MS-DOS ...
  • 12.4k
10 votes
3 answers
301 views

How easy is too easy?

Recent example: Code Golf for a^b mod n. Is there a policy I'm missing about what's too easy? If not... Should questions I personally dub too easy be... Ignored and left for interested users? ...
3 votes
1 answer
213 views

Are "one line" problems distinct from code golf, and if so what rules apply?

How to write a single-line password generator asks for a solution in "one line". It seems to me that this is potentially a different class of challenge from code-golf, and for the nonce I've tagged ...
5 votes
4 answers
249 views

More answers than up votes

When should we up vote questions? I've seen questions with something like 10 answers, but 1 only one up vote. Usually, on the other SE sites, I see questions with more or the same amount of up votes ...
  • 1,945
3 votes
2 answers
256 views

Design problems with new logo

1. I've recently noticed that the site's name has changed to Programming Puzzles & Code Golf. Though there are some design problems with the new logo. Main: Meta: Update: this is now fixed on ...
  • 1,796
34 votes
4 answers
650 views

Please raise or remove CW limits on Code Golf SE site

Please kindly raise or remove CW limits on Code Golf SE site Raise or Remove CW Conversion because of too many edits Raise or Remove CW Conversion because of too many answers Please allow current ...
  • 4,781
3 votes
1 answer
173 views

Why is this question marked community wiki?

Anagram Code Golf! Why? No other code golf questions seem to be :( Related: Should golf questions be a CW and why? I don't believe we have any need for CW on this site.   No, golf ...
  • 1,199
0 votes
1 answer
314 views

Why my question is migrated to stack-overflow ?

Hello I want know the reason for which my question is migrated to stack-overflow? If this is not considered as a code-golf I will like to cite few example where compression in without standard library ...
  • 2,309
12 votes
5 answers
816 views

Thought on language specific challenges

We haven't really talked about specified language challenges. On Stack Overflow, we asked that all code-golf problems be language agnostic, but I don't feel that we are automatically bound by that ...
3 votes
2 answers
237 views

Should we enforce the SO golfing rules here?

As noted, the quality of many questions on Code Golf SE leaves a lot to be desired. dmckee mentioned about the SO golfing rules that have made golf contests in SO much more successful. I think we ...
  • 4,877
4 votes
0 answers
204 views

Moderator Pro Tem Announcement

Throughout the beta, we need members from the site whose focus is to engage the community, both in community-building issues and site management. That's why we select a few members from each community ...
6 votes
1 answer
951 views

Tag proposal: kolmogorov-complexity

The Kolmogorov complexity of a string is the size of the smallest code fragment that produces it. Kolmogorov complexity is undecidable and infeasible to compute. Code golfing is the task of ...
  • 10.4k
8 votes
4 answers
282 views

How can we up the quality?

Most of the questions asked seem of much lower quality than those that used to appear under the code golf tag on StackOverflow. Here, I see these problems repeatedly: Poor problem definition, often ...
  • 4,919
5 votes
5 answers
197 views

What about locale-sensitive output?

We've been here a few times, as I recall: Next Friday the 13th and my own Day of the week of the next Feb 29th How much snow did you get? and my own All of those solutions may or may not fail, ...
  • 12.8k
3 votes
1 answer
124 views

Nothing but golf?

It seems the actual challenges and puzzles are few and far between, and most of them are mislabeled anyway (anything that adds least amount of code chars as part of the problem should be labeled golf)....
user avatar
19 votes
2 answers
342 views

When to accept answers [duplicate]

What guidelines should we have for accepting answers? See our page on area51 This site is different to other SE sites, because it's almost never clear that the best answer won't be improved upon. ...
  • 14.9k
2 votes
1 answer
100 views

Can I ask a regex question? I want it to be short.

I asked a regex question over at SO. Someone answered with a ruby solution. I'm pretty sure it can be done with GNU tools. I remembered seeing all the cool things here when snooping around area51. Is ...
  • 101
13 votes
2 answers
586 views

Using libraries in solutions

Languages differ greatly in the amount of functionality contained in the main namespace. Most of the PHP main functions, have counterparts in Perl core libraries. What should the policy be on ...
user avatar
12 votes
4 answers
2k views

Language Handicap [duplicate]

This question is because my favorite language C++ does not lend itself to code golf. Now I could try and pick up a new scripting language (like golf-script) or brush up on an old favorite (perl), but ...
12 votes
2 answers
222 views

Multiple answers from the same person to a question

Recently, when answering this question, I devised two solutions, each with a different approach. Now my doubt, and the point of this question, is whether I should've posted both solutions under a same ...
  • 3,088
22 votes
9 answers
2k views

Code Golf UserScript to help in navigating the site [v0.37 now available]

Current version: The current version of the script is 0.37. I was inspired by this Meta post to write a UserScript that would automatically tally up the size of code blocks and display the count ...
3 votes
1 answer
480 views

Line break formats and character numbers [duplicate]

I've recently saw someone, who says that their code is 350 characters long. Problem It can vary depending on platform. Code length compared across various platforms Windows: 371 characters ...
  • 1,796