3
\$\begingroup\$

Please post your nominations for Best of Code Review 2013 — Thousand Words category: Most effective use of images in a question or answer.

In your nomination post, be sure to include a link to the question or answer, as well as a short description of why you think the image is effective. One nomination per post, please. Posts being nominated must date from 2013.

\$\endgroup\$
  • 3
    \$\begingroup\$ Super-ninja search: url:*.imgur.com created:2013-01-01..2013-12-31 closed:no \$\endgroup\$ – Mathieu Guindon Dec 29 '13 at 20:31
  • \$\begingroup\$ @retailcoder Search results seem to be incomplete. \$\endgroup\$ – 200_success Dec 29 '13 at 20:35
  • \$\begingroup\$ Yeah.. got a clue? \$\endgroup\$ – Mathieu Guindon Dec 29 '13 at 20:36
  • 2
    \$\begingroup\$ In my opinion, ASCII art would also qualify. \$\endgroup\$ – 200_success Dec 31 '13 at 12:37
5
\$\begingroup\$

Parallel Universe Time Wrap!

I was so wrong while writing and testing the code at first place that I didn't even notice possible bugs and corner cases. Even the competition question was so ambiguous, it made me angry even why I participated there!

However 200_success's short and sweet answer with perfect explanation along the image make it better to understand.

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

Best way to work out angle between points?

I think that this explanation of how to remap axes when calling atan2() to redefine the 0° radial and orientation would be pretty hard to follow without the diagrams.

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

Drawing a point on a chart

Asked Aug 24 at 20:29 by user28859.

An animated gif! How could it get any better?!

That said, this question needs an actual review.

\$\endgroup\$
  • \$\begingroup\$ The question has now had the review it deserved :) \$\endgroup\$ – Mathieu Guindon Dec 29 '13 at 21:40
1
\$\begingroup\$

Complex logic that I'm certain can be simplified

The question title sucks, but the diagram is effective. It conveys the inputs to the problem (the squares and the origin, in black), the problem that the code is trying to solve (the pink angles), and the expected answers (the green dots). It also illustrates the expected behaviour for degenerate cases (the 9 o'clock example).

My only criticism of the diagram is that the colour choices could be problematic for red-green colour-blind users.

\$\endgroup\$

You must log in to answer this question.

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