▲ | msgodel 13 hours ago | ||||||||||||||||
Hash maps. Everyone just turns their brains off and uses hash maps for everything. The code this creates is awful for users, awful for people consuming it, awful for people maintaining it. Think for five minutes about your abstraction and create meaningful types and config languages, don't just hack it with a hashmap. | |||||||||||||||||
▲ | xboxnolifes 12 hours ago | parent | next [-] | ||||||||||||||||
Do you mean just passing around values as key-value pairs in hashmaps instead of something meaningfully typed, or something else? | |||||||||||||||||
▲ | Zambyte 13 hours ago | parent | prev | next [-] | ||||||||||||||||
Can you elaborate on common misuses you see? | |||||||||||||||||
▲ | dehrmann 13 hours ago | parent | prev | next [-] | ||||||||||||||||
It sort of sounds like you want a ~yaml config that's unmarshaled to an object. | |||||||||||||||||
| |||||||||||||||||
▲ | catlover76 13 hours ago | parent | prev [-] | ||||||||||||||||
[dead] |