AB-CE / abce

Agent-based computational Economics, the Python library that makes AB modelling easier

Home Page:http://abce.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement += and -= for goods

DavoudTaghawiNejad opened this issue · comments

using self.destroy and self-create is unintuitive users prefer += and -=

self['cookies'] += 5

commented

Disagreed. self.destroy and self.create are self-descriptive, and additionally are cross-language. Additionally, they should be used carefully (a destroy should be accompanied by a create and vice versa) to make sure the system is closed.