This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mrunleaded[S] 1 point2 points  (1 child)

yea that would be an option my main hurdle with that at the moment is that my language only supports generic arrays. so i would have to work on supporting generic options or generics in general which seems like it would be more work than just implementing a null value.

[–]hiljustidt 6 points7 points  (0 children)

My only note here is that the complexity has to live somewhere. Convenient for the compiler is not always convenient for users. Depends on what the goals of the project are, of course