Class with too many parameters: better design strategy?

后端 未结 13 895
醉酒成梦
醉酒成梦 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

    0 讨论(0)
提交回复
热议问题