Re:Lily Programming Language
by DanWaterworth on Friday July 01, 2016 @02:35PM
(#12018595)
How do you unbox something that could be null? Why not have a separate method on the sequence to define the initial value?
[ Parent
| on HN ]
Re:Lily Programming Language
by munificent on Friday July 01, 2016 @03:42PM
(#12019106)
> 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.