android / android-ktx

A set of Kotlin extensions for Android app development.
https://android.github.io/android-ktx/core-ktx/
7.48k stars 565 forks source link

android-ktx supports functional programming? #566

Closed touseefbsb closed 6 years ago

touseefbsb commented 6 years ago

QUESTION

as functional programming seems to be the new best practice and kotlin also has strong features to support that by default, I was just wondering whether this library ( android-ktx ) is being written and maintain with functional programming in mind?

JakeWharton commented 6 years ago

The library is agnostic to programming paradigm. The goal is to adapt the Android framework APIs to the language features of Kotlin. Sometimes that involves functional things. Sometimes it doesn't. The library isn't going to be in the business of excluding one or the other, however.