15 Apr
2020
15 Apr
'20
10:34 a.m.
The "hey I'm a dict, but look over hear and now you can treat my like like any other object" duality doesn't sit well with me. I do understand the idea of wanting to convert something to convert JSON data into a more object-like access pattern, though. So if something were to be brought in, for me the question would be whether it's an object that wraps a dict internally w/o re-exposing __getitem__() to the dict like a new veneer, or the creation of a new object that deep-copies the dict so it's more of an object transformation.