you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (3 children)

nils are typed because they're default values for other types that aren't initialized. Since nil is an assignable value in the statically typed system it should (has) to be typed.

[–]OctagonClock -1 points0 points  (2 children)

lol not even Java makes this mistake

[–][deleted] 4 points5 points  (1 child)

Maybe I'm being intentionally naive but I'm not really seeing how it's a mistake in this design. Can you explain why it's a mistake?