eo
eo copied to clipboard
Duplication between Param & Dataized
Param
& Dataized
& Data.ToPhi
do similar operations
Dataized
almost not used directly.
ToPhi
always consumes results of Param
Proposal:
- Join
Param
andDataized
- Make
Dataized
implementPhi
as a smart-class with extra methods So instead of
new Data.ToPhi(new Dataized(...).take(Long.class) + 1)
we could write
new DataizedPhi(phi).as(Long.class).apply(x -> x + 1)
@andreoss I added some explanation at bff11216 As for the other idea about DataizedPhi
, I suggest we put it on hold for a while. I will think more about it.
@yegor256 Are we going to continue here?
@andreoss I'm closing this, since it's pretty debatable and we are pretty stable in this part of the code