Re:OO in Python is mostly pointless
by EdwardDiego on Wednesday January 27, 2021 @07:12PM
(#25936134)
> IMO Go's use of upper/lower case is even worse than Python's use of underscores.
Especially when serialising a struct to JSON - only public members are serialised, so your JSON ends up with a bunch of keys called Foo, so you have to override serialisation names on all the fields to get them lowercased.
Especially when serialising a struct to JSON - only public members are serialised, so your JSON ends up with a bunch of keys called Foo, so you have to override serialisation names on all the fields to get them lowercased.