What is the advantage of "companion object" vs static keyword

Idiom != Idiomatic

I like Google’s first definition:

Idiomatic

  1. using, containing, or denoting expressions that are natural to a native speaker.

The goal isn’t lots of confusing idioms.
The goal is clear, naturally understandable code for the native Kotlin-speaking coder.

1 Like