any way to write this a bit simpler and without th...
# codereview
s
any way to write this a bit simpler and without the hacky null checks? I essentially need a switched constructor.