Hacker News new | past | comments | ask | show | jobs | submit login

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.



Idiomatic 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.


I 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.'




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: