logoalt Hacker News

drdexebtjlyesterday at 7:50 PM1 replyview on HN

“I intended this to be an integer but it could really be anything” is not very useful.


Replies

poidosyesterday at 7:55 PM

Sure it is. If you encounter something that’s not an int, that could be a signal you have a bug in your writers. Or in the source of the data. That’s useful information compared to “oh, I have some ints and some strings, that’s ANY, everything is ok.”

show 1 reply