So I been reading Clean Code by Robert C. Martin. He suggests to use verbs for functions and nouns for Classes.
However I been working with Serenity BDD framework using screen play pattern. Where the idea is to have a separate class for each action/task (verb) instead of separate function. Basically taking SRP and OCP to extreme. The documentation of framework suggests that it makes code more maintainable in the long run.
I been working using this pattern for like a month now. One thing I have started to notice is explosion of classes. Any body using serenity who can give me idea on how to contain this explosion? What criteria you follow for creating new classes? How do you divide responsibility of task classes in this framework?