Class with too many parameters: better design strategy?

后端 未结 13 929
醉酒成梦
醉酒成梦 2020-12-04 08:29

I am working with models of neurons. One class I am designing is a cell class which is a topological description of a neuron (several compartments connected together). It ha

13条回答
  •  春和景丽
    2020-12-04 09:01

    You could perhaps use a Python"dict" object ? http://docs.python.org/tutorial/datastructures.html#dictionaries

提交回复
热议问题