Idiomatic refers to the most common way to write something in a language. Writing idiomatic code means following the conventions of the language, and solving problems the way they are meant to be solved in that language, not by porting programming patterns from other languages.
Idioms vary widely across languages.
"Don’t repeat yourself" (DRY) is usually good advice, but you have to get the abstractions right. Otherwise they quickly become unmaintainable.
Here's how it usually plays out:
Loop these steps a couple of times and you quickly get an unmaintainable mess.
❤️ Brainstash Inc.