Functional Programming in Kotlin: to monads and beyond!

所在平台: Udemy

课程主页: https://www.udemy.com/course/kotlin-functional-programming-with-monads/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Kotlin中的函数式编程:从Monad到更远! 课程概述:近年来,新兴的编程语言或多或少地都包含了函数式编程特性。我们通常从使用filter、map、flatMap和reduce开始,刚开始似乎很简单;但是,当我们尝试理解如monad、functor、monoid和applicative等概念时,往往会感到困惑,甚至认为自己无法掌握这些知识。实际上,这并没有那么难,问题在于我们采用了错误的学习方法:要理解monad的含义,我们需要动手创建自己的monad,接着再创建第二个、第三个……这样一来,你就能够真正理解这些概念,即使没有人专门为你讲解。在本课程中,你将以100%实用的方式理解函数式编程的概念,通过Kotlin的练习进行实践。这样,你会充分沉浸在学习中,深入内化这些知识。到课程结束时,你将清楚地了解什么是monad(以及functor、monoid、applicative等),即使你不完全确定自己是如何学会这些的。 除了这些“高级”概念,我们还会覆盖一些可能你已经知道但在函数式编程中至关重要的基础知识,例如递归(你知道任何一个带循环的迭代算法都可以用递归的方式重写吗?)、函数(你会发现它们的用法远不止你通常使用的方式)以及典型的函数式转换函数:filter、map、reduce(fold)等。不要犹豫,函数式编程是少数几门能够真正改变你思维方式的学科,并将使你成为比仅仅了解最新流行框架的程序员更有价值的开发者。

课程评论(0条)

课程详情

In recent years, all the new programming languages that have emerged include more or less prominent functional features. We all start by using a filter, then a map, flatMap, reduce.at first, it seems easy!Then we try to learn concepts like monad, functor, monoid, applicative.we read a tutorial here, a blog post there.and after all, we think "I'm never going to understand this."And I have to tell you-it's not that hard, you're just using the wrong approach: to understand what a monad is, you have to create your own monad. Then a second one, a third.and voilà, you understand what you're doing, even if no one has actually explained it to you.In this course, you're going to do exactly that: understand the concepts of functional programming in a 100% practical way, with exercises in Kotlin. That way, you'll immerse yourself in it, internalize it, and by the end of the day, you'll know what a monad is (and a functor, a monoid, an applicative...) even if you're not quite sure how you ended up learning it.Besides these "advanced" concepts, we'll also cover ideas you probably already know, but that are fundamental in functional programming: recursion (did you know that any iterative algorithm with a loop can be rewritten in a recursive way?), functions (you'll see they can do much more than how you usually use them), and of course, the typical functional transformation functions: filter, map, reduce (fold) and others.Don't hesitate-functional programming is one of the few disciplines that will truly change the way you think, and that will make you a much more valuable programmer than someone who only knows the latest trendy framework.

课程标签

0人关注该课程

主题相关的课程