11
\$\begingroup\$

The FAQ states:

Is it actual code from a project rather then pseudo-code or example code?

But oftentimes pseudo-code is a lot more straight forward and easy to evaluate. It also applies to a wider variety of things.

\$\endgroup\$
23
\$\begingroup\$

No.

Our focus is to improve working code. By definition, pseudo-code is not working code. The restriction is (partially) to make sure you've put effort in your code before showing it to us. Pseudocode doesn't demonstrate that.

The only thing that we could possibly review about pseudo-code is the algorithm. But that would be Algorithm Review, not Code Review. This is not the site to ask questions about algorithms. Our focus is primarily on improving the style of code rather then algorithms, although we do go there as well.

Pseudocode tends to be very difficult to work with. It is incomplete, ambiguous, inprecise, and just downright annoying. Reviewing it, even for the purpose of thinking about better algorithm is difficult, and its better just to have real code.

If you code is very hard to read in comparison to the pseudocode, then your code needs help, or you should use a better language. But getting help with the actual code is definitely on-topic here.

\$\endgroup\$
  • \$\begingroup\$ oh wow, i pretty much was thinking algorithms anyway, i didnt know we had an algorithm review too! thanks \$\endgroup\$ – Tom Prats Sep 11 '12 at 0:36
  • 2
    \$\begingroup\$ @TMP, we don't have an Algorithm Review. Algorithm questions belong on Programmers.se though. \$\endgroup\$ – Winston Ewert Sep 11 '12 at 0:58
  • \$\begingroup\$ lol i see, i have trouble reading sometimes \$\endgroup\$ – Tom Prats Sep 11 '12 at 3:18

You must log in to answer this question.

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