3 ms·
An instance of mixed-type maps* Elsewhere one would have to define a struct/class and them create an instance. This becomes immensely helpful for the incredib
by fny 9y ago
An instance of mixed-type maps*
Elsewhere one would have to define a struct/class and them create an instance.
This becomes immensely helpful for the incredibly lazy with one off object definitions and wrapper types. If you introduce a class definition alongside an instance, you're now forced to manage two peices of code. The class definition and instance definition. In this case they're coupled which aides maintenance in my experience.