Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

How does SO's (or other SE sites) versioning work of questions and answers? Do they use some standard piece of code or is it something homebrew?

With versioning I meant if for example a question is edited you'll see all the changes (a diff).

share|improve this question
up vote 2 down vote accepted

It's homebrew, as far as I know (I am sure one of the developers can confirm).

Every version is stored in the database - what you see is the result of some string diff algorithms to show the differences.

I recall Jeff posting about string diff algorithms in this exact context, but can't find a reference.

share|improve this answer

You must log in to answer this question.

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