The first style is about a sequence of imperatively telling what a program has to do, whereas the second is about sequentially applying functions on objects in a function invocation chain. Because of this, the first style also gets called imperative programming , and the ...
12. Back to Math: Functional Programming
Get Learn Kotlin for Android Development: The Next Generation Language for Modern Android Apps Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.