MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y1rd5z/commentsinjson/19syptlb1draa/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • 14d ago • 1
202 comments sorted by
View all comments
Show parent comment
10
Nothing wrong with strings. Data is data. Strings can be validated jus as everything else.
2 u/necrophcodr 14d ago Plenty wrong with having to decode a full JSON object just to fail validation after. 2 u/RevoOps 14d ago You can technically build a dwelling out of blocks of ice. Doesn't mean you should do it if you are building a house in Florida 5 u/another_random_bit 14d ago Ok but that's irrelevant? Strings CAN be validated, and sometimes the data is in string format.What does houses in Florida have anything to do with it?
2
Plenty wrong with having to decode a full JSON object just to fail validation after.
You can technically build a dwelling out of blocks of ice. Doesn't mean you should do it if you are building a house in Florida
5 u/another_random_bit 14d ago Ok but that's irrelevant? Strings CAN be validated, and sometimes the data is in string format.What does houses in Florida have anything to do with it?
5
Ok but that's irrelevant? Strings CAN be validated, and sometimes the data is in string format.
What does houses in Florida have anything to do with it?
View all comments
Show parent comment
10
u/metaglot 14d ago
Nothing wrong with strings. Data is data. Strings can be validated jus as everything else.