The type with "Manager" in the name is a refactoring candidate?

I found a dissertation on forums :

If you have a type with "Manager" in the name, this is a candidate for refactoring.

One answer:

I know that he counted the code "smell"

So ... why? Is this thesis correct?

There are many managers. For example, Ogre3d uses a lot of them, and this engine really has a clean architecture.

+3
source share
2 answers

Ogre3d uses a lot of them, and this engine really has a clean architecture.

, "manager". DefaultSceneManager . , , "".

, , "", . : , , , -. "", , - , .

+3

, , - . , , , . , .

SRP suffix , , "ConnectionPoolManager". , , .

0

Source: https://habr.com/ru/post/1770635/


All Articles