BrainGrid
BrainGrid copied to clipboard
Why do the synapse props classes' methods all take a reference to the props object?
What kind of issue is this?
- [ ] Bug report
- [ ] Feature request
- [X] Question not answered in documentation
- [ ] Cleanup needed
Logically, there would be a singleton pattern here, but that doesn't seem to be the case. Instead, each method in the class takes a reference to the (presumably single) object of that class. Why don't they just either use this
or directly access member variables?
What is affected by this?
Simulator