4 ms·
How do you unbox something that could be null? Why not have a separate method on the sequence to define the initial value?
by DanWaterworth 10y ago
How do you unbox something that could be null? Why not have a separate method on the sequence to define the initial value?
- munificent 10y ago> How do you unbox something that could be null? Wren is dynamically typed, so you don't really have to think about explicit boxing or unboxing. > Why not have a separate method on the sequence to define the initial value? Yes, I am definitely considering that. There's no real reason why that needs to be combined with the method to advance, and I'm honestly not even sure why I originally designed it that way.