The delightful bright yellow of extension functions

Am I the only one who gets an irresistible temptation to write new methods as extension functions so that they appear in that magical bright yellow in IntelliJ at the call site rather than the same old boring grey?

Coding conventions be damned.

Posted May 4, 2022, 8:26 AM UTC

22
DeadlyAlive•

I make all my non-classes files an object, so the .kt extension won't appear in Android Studio.

1
SoaringRocketOP•

I know what you're saying. Alas, I gave up that battle a while ago.

1