samedi 27 mai 2017

Is class scope mandatory to consider C++ style?

Irrespective of using OOP/functional paradigm, to design an abstraction,

if an abstraction is written using C++11 syntax and introduce names only in local & namespace scope but not in class scope, then,

Can this code be considered C++ style? What does C++ style recommend?

Note: Being pythonic is about writing Duck typing & EAFP code

Aucun commentaire:

Enregistrer un commentaire