The lunch test
Can you remember the most important method calls of your class/module during your lunch time?
Let’s say that you need to instantiate a new chart for a new page of your web app, is it easy or does it need a lot of configuration? It is probably not going to pass the test if it needs too much setup to get going.
The idea is that you should have intuitive method names, clear entry points and parameters that are so straight forward that you can remember without consulting them.