You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it useful that methods are generic in T when T only appears in the output type, and cannot be inferred from any of the input types? Wouldn't it be simpler to have just Optional<DtStart<Temporal>> getDateTimeStart()? The caller will have to check or make assumptions on the type anyway...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it useful that methods are generic in
T
whenT
only appears in the output type, and cannot be inferred from any of the input types? Wouldn't it be simpler to have justOptional<DtStart<Temporal>> getDateTimeStart()
? The caller will have to check or make assumptions on the type anyway...Beta Was this translation helpful? Give feedback.
All reactions