Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get Programming with Scala: compared to Kotlin  RSS feed

 
Master Rancher
Posts: 2539
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The other week I read an introduction to Kotlin. What I read reminded me very much of Scala. What do you consider as the main differences between the two?
 
Author
Greenhorn
Posts: 21
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Piet,
I'll do my best to answer your question, but please keep in mind that my knowledge of Kotlin is quite limited ;)

While Kotlin could be considered a better Java, Scala is a language that, although highly influenced by Java, wants to do things differently from it -- one of the reasons why learning Scala for Java developers can be at times a bit overwhelming.

Scala's main goal is not to fix Java but to combine two programming styles that are very different: OOP vs FP.

Have a look at this article on the subject, which I think is really nice: https://dzone.com/articles/kotlin-vs-scala-vs-java

Cheers,
Daniela
 
Piet Souris
Master Rancher
Posts: 2539
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,  Daniela!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!