https://kotlinlang.org logo
#announcements
Title
# announcements
d

diesieben07

06/28/2017, 2:01 PM
No, you cannot. Think of extension functions as syntax sugar for "static methods".
d

dagguh

06/28/2017, 2:04 PM
diesieben07: Agreed. However, it’s more about “util” methods like
StringUtils.*
,
IOUtils.*
, static or not. It’s a more OOP, readable way to implement these
d

diesieben07

06/28/2017, 2:05 PM
Yes, I know. It's about how they behave though.
They are statically resolved, not dynamically.
2 Views