Open moreal opened 1 week ago
Currently, the return type of BaseDiffHandler.CalculateCurrentAndTargetIndexes is a tuple of four long elements, (long, long, long, long).
BaseDiffHandler.CalculateCurrentAndTargetIndexes
long
(long, long, long, long)
https://github.com/planetarium/mimir/blob/822a0c3e92d5c68c777bdc43168f589e8e668c72/Mimir.Worker/Handler/BaseDiffHandler.cs#L69
When using the method, I cannot know the role of each element without looking inside the method. I think it can be more understandable by the following ways:
class
record
Could you assign this to me, please? :)
Sure!
Context
Currently, the return type of
BaseDiffHandler.CalculateCurrentAndTargetIndexes
is a tuple of fourlong
elements,(long, long, long, long)
.https://github.com/planetarium/mimir/blob/822a0c3e92d5c68c777bdc43168f589e8e668c72/Mimir.Worker/Handler/BaseDiffHandler.cs#L69
When using the method, I cannot know the role of each element without looking inside the method. I think it can be more understandable by the following ways:
class
orrecord
to describe the return type and use the type.