Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Backend Developer 為什麼要學 Kotlin? #7

Open
Jian-Min-Huang opened this issue Jan 11, 2022 · 1 comment
Open

Java Backend Developer 為什麼要學 Kotlin? #7

Jian-Min-Huang opened this issue Jan 11, 2022 · 1 comment

Comments

@Jian-Min-Huang
Copy link
Member

Jian-Min-Huang commented Jan 11, 2022

@hmchangm
Copy link

hmchangm commented Jan 11, 2022

曾經寫過 Think in Java, C++ 的 Bruce 在 2021 出了本 Atomic Kotlin. 他在訪談中提到幾點
https://www.youtube.com/watch?v=0V-qp-qpjzU

  • 優雅的處理 null pointer exception
  • Java 是個 25 年的語言,有很多 pattern 是寫給compiler 看的。Kotlin 對 Developer 有很多貼心的地方
  • Java 的高度相容性, Scala 也想作,但 Kotlin 幾乎是無縫的,本來的 java 的基礎是加分的。
  • Kotlin 被很多語言影響,取用各方之優
  • Coroutine for writing Non-blocking I/O easily
  • Kotlin supports multiple programming paradigms
    • Imperative programming
    • Functional programming
    • Object-oriented programming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants