What is the difference between a senior developer and a developer/junior developer?

I’ve seen in some job openings companies looking for a ‘senior developer’. What makes a developer a senior developer? Is it simply number of years experience, or is there more to it?

I think variety of experience is more important than the number of years. You could be working on the same mundane project for 10 years and that doesn’t really allow for the greatest breadth of knowledge.

A senior developer is someone who is easily approachable and comfortable mentoring other developers. They can address a problem pragmatically; relating to past experiences that are both positive and negative in nature.