Follow-up from "Sigmon 60 multi signal nxcals" review the refactoring of dictionnaries to domain objects.
The following discussion from !32 (merged) should be addressed:
-
@garnierj started a discussion: (+1 comment)
maybe I missed it .. but why relying on a Dict[str, int] for these 2 timestamps?
I see that everywhere
t_start
andt_end
are hardcoded.If the use of a dictionary is necessary, introduce a constant, particularly because countless variables are named
t_start
andt_end
as well. If the use of a dictionary is not necessary, introduce an object.