Page tree
Skip to end of metadata
Go to start of metadata

关键词:函数式编程

Kotlin好处总结

 

Java 已老,Kotlin 或将取而代之!

Kotlin: Java 6 废土中的一线希望

https://academy.realm.io/cn/posts/droidcon-michael-pardo-kotlin/

如何迁移

如何从Java迁移到Kotlin

https://engineering.talkdesk.com/migrating-from-java-to-kotlin-the-easy-way-37b25a379d72

和其他语言的比较

和Scala的比较

https://www.codementor.io/jessicathornsby/kotlin-vs-scala-what-should-i-choose-instead-of-java-bwn9axvr8

https://machad0.github.io/kotlin-is-like-scala/

 

关于Monad

Understanding the Optional Monad in Java 8

https://medium.com/coding-with-clarity/understanding-the-optional-monad-in-java-8-e3000d85ffd2

Monads for Java developers: Part 1 — The Optional monad

https://medium.com/@afcastano/monads-for-java-developers-part-1-the-optional-monad-aa6e797b8a6e

What is a Monad? - Computerphile

https://www.youtube.com/watch?v=t1e8gqXLbsU&t=637s

图解Monad

http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html#applicatives

了解Monad,推荐这个Youtube视频,讲得非常好: Using Traits, Mixins and Monads in JVM Languages

https://www.youtube.com/watch?v=NsZoFno8Mfk&t=7328s

 

Kotlin与多继承

 

Kotlin与设计模式

 

Kotlin与设计模式
Kotlin使得以下设计模式不再需要,直接代之以语言内建特性:singleton(代之以object),builder(代之以appy),delegation(代之以 by),strategy(代之以lambda表达式和high level function);

也使得很多模式的实现大大简化,比如:Adapter(用by代理兼容的方法,改写不兼容的方法), Decorator(继承主父类,附加功能用by代理给专门的实现), Facade(用by代理多个接口的实现给对应实现类)

 

Kotlin Coroutine vs 反应式

 

KotlinCoroutine
Structured concurrency of Kotlin Coroutine

"Today marks the release of a version 0.26.0 of kotlinx.coroutines library and an introduction of structured concurrency to Kotlin coroutines."
https://medium.com/@elizarov/structured-concurrency-722d765aa952

相关文章

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/

 

参考资料

为什么我要改用Kotlin

http://www.open-open.com/lib/view/open1495081272725.html

Kotlin开发经验(4)

http://www.qingpingshan.com/rjbc/az/320179.html

Android 开发时你遇到过什么相见恨晚的工具或网站?

https://www.zhihu.com/question/27140400/answer/54206284

Kotlin is like TypeScript(Kotlin和TypeScript的语法比较)

https://gi-no.github.io/kotlin-is-like-typescript/

 

Sergey shared:

 

 

 

  • No labels