I'm thinking about making `IntCode<T : Number&g...
# advent-of-code
e
I'm thinking about making
IntCode<T : Number>
. Need to refactor it for Day 7 anyway.
b
how would that work with
+
and
*
. I thought they weren’t defined on
Number
or are you just going to add a big when expression with the most common variations
Int
,
Long
,
BigInt
?
e
Oh, I haven't gotten that far, that was just an idea. 😄
k
Yeah no,
Number
is just a pathetic abstract class that's really not useful for anything at all.
👍 1