10
\$\begingroup\$

I've just been visiting code review lately and I've realized what I'm doing is opening two browser windows, putting them side by side to compare my code with the answered code.

What I've realized from doing this is it might be helpful for codereview to have a special Code Diff function which puts codes side by side with answers, especially because this is a code review website so we can expect to have some alike code, and going up and down is dizzying.

Probably not possible, but worth to try. Thanks.

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

Answers should be code reviews, not just unexplained walls of code with tiny, hard-to-find changes.

So the real solution is to write good answers and edit, downvote and delete answers that do not contain sufficient explanation. This feature request is therefore declined.

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

As someone new to the site and fairly new to programming, such a side by side comparison would be IMMENSELY useful. Being able to see the differences in a more dynamic fashion would be a great learning tool!

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

Neat request, and would be extremely helpful with large code snippets.

Something I use to compare code of my own and fits the description of the feature request is Meld (source code). I think a feature comparable to that would be a nice addition to this site.

\$\endgroup\$
0
\$\begingroup\$

As long as this website is in beta I don't think any such addition will take place. But this doesn't mean we cannot see the differences by using other ways. I googled "online diff tools" and found this quickdiff and this diffchecker. There are others also. It might be helpful to put some online tool(s) in the FAQ.

\$\endgroup\$

You must log in to answer this question.

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