Use class instances instead of cls objects
Registered by
Boris Pavlovic
Currently we are using class objects and class methods instead of class instance and method of these instance.
So there is no reason to use class objects, so it is reasonable to switch to class instances. As bonuses:
1) __init__( ) method
2) much cleaner code
3) testing becomes simpler (especially mocking)
Blueprint information
- Status:
- Complete
- Approver:
- Boris Pavlovic
- Priority:
- Undefined
- Drafter:
- Boris Pavlovic
- Direction:
- Needs approval
- Assignee:
- Boris Pavlovic
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Boris Pavlovic
- Completed by
- Boris Pavlovic
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Use cls instances instead of object in benchmarks
(?)