3 ms·
I do know my tools, actually (having helped create them) - before creating the structs, I did consider this approach, and consciously decided against it for rou
by srl 15y ago
I do know my tools, actually (having helped create them) - before creating the structs, I did consider this approach, and consciously decided against it for roughly the reasons described.
I'm talking about a distinct problem from programmers not knowing their tools - programmers who do know and understand their tools quite well, but decide, for whatever horrible reason, that those tools are "quite good enough", and insist on going from scratch. Sometimes justified, and usually not - and it can lead to a great deal of harm in the way of unmaintainable bloat.
- omaranto 15y agoI think timtadh's jab about you not knowing your tools wasn't about the structs with a type field but about the .(float64) in case float64: fmt.Printf("%f\n", v.(float64)) which can be simplified to case float64: fmt.Printf("%f\n", v)
- deleted 15y ago[deleted]