UWB-Biocomputing / BrainGrid

A project to facilitate construction of high-performance neural simulations.
https://uwb-biocomputing.github.io/BrainGrid/
Apache License 2.0
32 stars 17 forks source link

Why do the synapse props classes' methods all take a reference to the props object? #272

Open stiber opened 5 years ago

stiber commented 5 years ago

What kind of issue is this?

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

How do we replicate the issue/how would it work?

Expected behavior (i.e. solution or outline of what it would look like)

Other Comments