3
\$\begingroup\$

Based on the FAQ, I know I should limit my questions to specific challenges that have an "objective winning criterion." This leads me to assume that questions like those I'm asking about are not.

However, the simple algorithm I'm attempting to golf (a weasel program) depends on several pseudo-random steps, it's (pseudo)-non-deterministic. Simply posing it as a challenge seems like a problem because although I could specify the seed I used when I coded it in the original language (Python), I imagine that will still cause the results to differ between languages that use different pseudo-random algorithms.

If I just pose the question as "how can I further golf this program?" and provide my working code in its current state, is that acceptable, or is this more on-topic for Stack Overflow? I assumed that if I posted a question related to code-golf there, it would be migrated over here anyway, but the FAQ here leaves me uncertain. I have read the Python tips question as well.

Perhaps it's not on topic on any SE site, which is also acceptable.

\$\endgroup\$
2
\$\begingroup\$

My take has been that "How do I golf this program?" type questions are too localized.

We do, however, have a series of questions where you can find (on a per-language basis) suggested techniques for golfing or abusing language features; In my mind that is different because the answers should apply again and again.

\$\endgroup\$
  • \$\begingroup\$ Right, I read the Python tips question and applied several of those tips to my code. I may just post the algorithm as a simple challenge anyway and see what responses people give, despite the fact that it relies on pseudo-random components. \$\endgroup\$ – John Bensin Apr 18 '13 at 17:23
  • \$\begingroup\$ So, what are we supposed to do when the existing tips aren't enough? For example, is this question - not about a specific piece of code, but centered around how to better golf a particular operation in general - still okay? \$\endgroup\$ – Iszi Dec 6 '13 at 1:35
3
\$\begingroup\$

From the FAQ of the Code Review, I think it would be on topic there: you post code and want feedback on a specific point. However, I'd ask first in meta there because I'm not sure whether they would consider that a deficiency in the FAQ.

\$\endgroup\$
  • \$\begingroup\$ Based on the answer, it doesn't look like it's a good fit there either. \$\endgroup\$ – John Bensin Apr 19 '13 at 14:39

You must log in to answer this question.

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