Great Code

Great code.

What is great code?

Great code does not only abide by principles such as POLS principle of least surprise, that would just make it not bad code. But what is great code?

Who knows, it's partially like great writing. I guess great code needs to survive for a while to be great. But that's not it, there is plenty of terrible old code that has survived.

When thinking of what makes great code words like "intuitive" come to mind. It's clear where the new changes need to be made, the naming is crisp and delineated. There are lines of responsibility, that are again clearly divided. Each class takes their responsibility and dives into it without cross over into someone else's territory. Yea that sounds like a good start.