What does 'idiomatic' mean in Rust? Like many here, I even have some (false?) confidence that I know what idiomatic means.
Let me ask three questions:
-
Who gets to decide what is idiomatic?
-
How does something become idiomatic?
-
What are the pros and cons of saying something is idiomatic?
From what I can tell, in spoken languages, idioms are defined by community practice and adoption. It is interesting to see what phrases become more and less common. Put another way, idioms are an emergent behavior of a group of people around a language.
Idioms are better understood as emergent behavior than being defined rationally according to a set of core principles.