Re:Why is OOP still so widely spread?
by dheera on Thursday September 03, 2020 @12:36PM
(#24365791)
Checks in Python are pretty concise. If you just want to have a default value if the key my_value doesn't exist, this is all you need:
If you want a more strict check including type checking:
In Java the real problem is nested JSON objects -- it's a real PITA to read those. You can't do something like this (Python):
[ Parent
| on HN ]