4 ms·
Saw this the other day, but the multiple types of null kind of turned me off - e.g. `null.int`, `null.float`, `null.null`. Is there a good justification for thi
by news_to_me 3y ago
Saw this the other day, but the multiple types of null kind of turned me off - e.g. `null.int`, `null.float`, `null.null`. Is there a good justification for this? Seems like a kluge in any case.
- steveBK123 3y agotyped nulls good
- throwbadubadu 3y agoSounds like the grug brained developer speaking... Hi! ;)
- zyang 3y agoMy guess is buffer size calculations.
- spaceywilly 3y agoSeems like the justification would be to keep the type information when going back and forth to Ion. More like "multiple nullable types" instead of "multiple types of null" userBirthDay: null <-- ok, but what type is it? String? Int? Timestamp? userBirthDay: null.timestamp <-- ok, it's a timestamp typed variable, but we don't know the value. Yay, happy programmer.