Skip to content

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

@stiber

Description

@stiber

What kind of issue is this?

  • Bug report
  • Feature request
  • 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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions