https://kotlinlang.org logo
#feed
Title
# feed
a

adam-mcneilly

08/02/2018, 2:00 PM
I wrote about some hidden gems/things I don't think get explained to new Kotlin devs often enough. https://tech.okcupid.com/hidden-gems-in-kotlin-stdlib/
💯 4
e

elect

08/02/2018, 3:26 PM
I thought actually something "more" hidden
a

adam-mcneilly

08/02/2018, 3:30 PM
Yeah, they're not the biggest secrets, but for beginners I think these are a lot of things that don't get explained often. I presented this at a meetup Tuesday and most people said there was at least one thing in here they didn't know about.
e

elect

08/02/2018, 3:31 PM
ok
j

jmfayard

08/05/2018, 4:07 PM
About
supportsLollipop { ... }
In my opinion, you should definitely add that to your project is that's useful for you. The arguments against adding them to a general purpose library apply only there. You don't care about not breaking backwards compatibility in your own project where you can refactor as you wish. I would just put more context. Like if your app use Bluetooth, you probably want to have
supportsBluettothLE { ... }
instead of mentioning lollipop