📜  我应该学习 kotlin 还是 java 代码示例

📅  最后修改于: 2022-03-11 14:52:06.258000             🧑  作者: Mango

代码示例1
Both Java and Kotlin are awesome, and it is totally a choice of yours.
  Keep in mind that you should use programming language as a tool.
  So, learn both
  but explicitly
  Kotlin also typically has fewer codes, whereas Java adheres more to a 
  traditional approach to making everything verbose. One advantage of 
  Kotlin over Java is Kotlin's flexibility – it can choose to do everything 
  in the traditional OOP approach, or it can go a different way.