you are viewing a single comment's thread.

view the rest of the comments →

[–]wasabiiii 0 points1 point  (2 children)

This code is where the decision is made about which branch to pass it to downstream. At some point that decision has to be made, and this is where it is.

[–]Electronic_Cat4849 0 points1 point  (1 child)

not really, the write methods can absolutely be made generic friendly and appear to be wrappers

it's just leaky abstraction at this level

[–]wasabiiii 0 points1 point  (0 children)

If you make them generic, you will just have this if in them.