What
In alive monitor, but also elsewhere, there are init(), construct(), and other similar method names to handle situations where construction can fail, but we want to handle the error. A cleaner pattern could be to use a static Create() method that returns a newly created object or error on failure
Acceptance Criteria (DoD)
construct() and init() methods are removed or made private
How
No response
What
In alive monitor, but also elsewhere, there are
init(),construct(), and other similar method names to handle situations where construction can fail, but we want to handle the error. A cleaner pattern could be to use a staticCreate()method that returns a newly created object or error on failureAcceptance Criteria (DoD)
construct()andinit()methods are removed or made privateHow
No response