45

This question already has an answer here:

I'm taking Algorithms this term and I wanted to know where I should post questions about material in the course.

Is it Stack Overflow or Software Engineering? Or other SE site? (I wasn't able to discern from the FAQ.)

marked as duplicate by Shadow The Curly Braced Wizard discussion Mar 23 '17 at 12:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

48

Questions about designing algorithms, their correctness, or their complexity fit Computer Science best. This is likely to be the best fit for questions that you may have that arise in an algorithms course that is part of a computer science educational program.

If you implement algorithms as part of the course, then questions about the coding part should be asked on Stack Overflow, e.g. “why doesn't my code work?” (post your whole code and explain the desired behavior), what library functions to use, etc.

If your implementation is working and you want to make it better, take it to Code Review.

Questions about algorithms in the context of analyzing and designing software systems are a good fit on Software Engineering.

Questions about numerical algorithms in the context of applications to other sciences (statistics, physics, biology, etc.) may be a better fit for Computational Science.

Research-level questions may also be suitable on Theoretical Computer Science.

  • 4
    Ah, so on SO I would ask why my results aren't correct, or why my code is resulting in an error. And on Programmers, I would ask about say, the mathematical proof behind the algorithm. Is this correct? – user208596 Jan 30 '13 at 2:21
  • @user39902 Sounds good to me :) – Jeff Jan 30 '13 at 2:37
  • 5
    Even though Software Engineering have that in their FAQ, Computer Science is the better address for algorithms questions, at least if you want some amount of rigor. That's in my completely biased experience. – Raphael Feb 10 '15 at 15:55
  • 2
    No, mathematical proofs go on mathematics.SE!!! – Lightness Races in Orbit Dec 22 '15 at 13:11
  • 1
    Thanks @Aaron, great edit. – Jeff Mar 7 '16 at 20:04
  • @Jeff Please add with your answer what/When to ask Computer Science? – Kanagavelu Sugumar Apr 24 '16 at 3:55
  • @KanagaveluSugumar I don't really hang out much on Computer Science, so I've changed my answer to Community Wiki - feel free to edit it with additional relevant content :) – Jeff Apr 24 '16 at 4:34
  • 1
    This answer is no longer correct for SoftwareEngineering.SE. They no longer list algorithms in their on-topic guide. The site has been slowly migrating away from that kind of questions for years now. – Andres F. Mar 22 '17 at 18:36
  • @AndresF. this is community wiki, so you're welcome to edit it yourself. I'm not really up-to-date on the various SE programming sites tbh. – Jeff Mar 22 '17 at 19:47
  • I don't agree with this - Stack Overflow's on-topic guide states that questions about algorithms are explicitly on-topic. There's no explicit requirement that questions about algorithms must include code. – EJoshuaS Feb 3 '18 at 5:37
  • @EJoshuaS Questions about algorithms are on-topic on Stack Overflow, when the question is about implementing a given algorithm in code. They are off-topic when the question is about designing algorithms, because that has nothing to do with programming - even if the goal is to program the algorithm. – Max Vollmer Apr 6 at 1:58