mercredi 16 août 2023

What means surrogate in context of proxy

In the gang-of-four is written

Proxy (207) Provide a surrogate or placeholder for another object to control access to it.

Is surrogate in this context just a synonym of placeholder?

or is in this context surrogate referring to surrogate model when the proxy wraps the real class and approximate methods output?

Aucun commentaire:

Enregistrer un commentaire