Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get Programming with Scala: compared to Kotlin  RSS feed

 
Master Rancher
Posts: 2708
92
  • 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: 2708
92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,  Daniela!
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!