Re:Go Enums Suck
by OhSoHumble on Saturday March 02, 2024 @02:42AM
(#39570760)
That simplicity can lead to more complex and hard to read/support code.
For example, to encode a JSON structure with a dynamic top-level key you need to write a custom marshaller OR marshal twice. That's... awful. Like bonkers level insane.
For example, to encode a JSON structure with a dynamic top-level key you need to write a custom marshaller OR marshal twice. That's... awful. Like bonkers level insane.