logoalt Hacker News

whalesaladyesterday at 11:47 PM1 replyview on HN

The point is parse and validate are interchangeable words for the most part. If you’re parsing something you expect to be an int, but it’s a float or the letter “a” is that not invalid? Is this assessment a form of validating expectations? The line between parsing and validating doesn’t exist.


Replies

tialaramextoday at 2:23 AM

But they plainly aren't interchangeable? Just asserting that it's true doesn't make it true.