samedi 23 septembre 2017

Is Schwartzian Transform used in sorting some kind of design pattern?

Is Schwartzian Transform used in sorting some kind of design pattern, e.g. template, strategy, ... patterns, as introduced in the book Design Pattern by Gang of Four? See How to make comparison an operation implemented by subclasses and Template pattern?

Do the sorting functions in the standard libraries in mainstream compiled static languages (e.g. C, Java, C#, C++) use Schwartzian Transform or some other patterns?

Thanks.

Aucun commentaire:

Enregistrer un commentaire