https://kotlinlang.org logo
c

cedric

01/03/2017, 6:10 PM
@alexp11223 I was going to ask the very same question @kirillrakhman asked but looks like you sorted it out. In general, I end up using extension functions a lot less than I thought. I see them more as a way to glue systems that weren’t built together, but if you’re building the whole thing yourself, they are rarely necessary and can sometimes get in the way of clean code