2 ms·
I don't write any Go, but 'you are doing it wrong, we use a different idiomatic style to handle that' is not a necessarily invalid thing to say.
by slurgfest 14y ago
I don't write any Go, but 'you are doing it wrong, we use a different idiomatic style to handle that' is not a necessarily invalid thing to say.
- batista 14y agoIdiomatic is not necessarily better. "Idiomatic" C code of the eighties would be considered atrocious now. And idiomatic Java code (Factory of proxies of singletons) is laughed at. And not a lot of people are fond of idiomatic Ruby code, which tends to rely on "magic" (or "action at a distance"). Sometimes idiomatic is good, sometimes it's bad. Let's not cargo cult.
- slurgfest 14y agoI am not cargo-culting. I am saying that it is not invalid to say to someone 'you're doing it wrong, if you just use a different style that does not become a problem.'