Under what circumstances does the singleton pattern need to be used by slackers?

the impact of hungry mode on system performance can be ignored. Under what circumstances will hungry people be required not to be used?

Mar.03,2021

when you need runtime parameters to create a singleton, you can't use hungry people.


what is the hungry mode? Eat hard when you have it, whether you are full or not (initialize yourself hard whether you have been instantiated or not). He's still too hungry to move. He won't do anything you want him to do.

Menu