lene / HyperspaceExplorer

Displays four-dimensional objects and functions by projecting them into three-dimensional space. Viewpoint transformations and parameter changes are displayed in real time.
http://hyperspace-expl.sourceforge.net/
GNU General Public License v2.0
3 stars 0 forks source link

Make as many methods as possible and all members private #67

Closed lene closed 10 years ago

lene commented 10 years ago

http://www.gotw.ca/publications/mill18.htm

Prefer to use Template Method pattern to make interfaces stable and nonvirtual, while delegating customizable work to nonpublic virtual functions

Prefer to make virtual functions private. Only if derived classes need to invoke the base implementation of a virtual function, make the virtual function protected.

lene commented 10 years ago
lene commented 10 years ago
lene commented 10 years ago

This is sort of a never ending story... I close this issue now, I will continue to clean up the interface wherever I go.

lene commented 10 years ago