I offer here an argument for inheriting a parameters block rather than having a parameter block.

 

1)    Inheritance is not always restricted to “being” a thing.  For example we inherit a ref count or a time stamp, and these are “mixins” as derived from the old lisp machine “flavors” concept, where additional features are mixed together as in an ice cream sunday.

2)    Algorithms that inherit parameters can use them freely throughout the code without the tedious indirection, e.g. param->threshold_.  Instead

 if(x>threshold_)

     {…

 

Joe

 

 

 

o----o----o----o----o----o----o----o

Professor of Engineering(Research)

Room 351

Barus and Holley

184 Hope Street

Providence, RI

401-863-2655