• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Get Programming with Scala: compared to Kotlin

 
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 21
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you,  Daniela!
 
reply
    Bookmark Topic Watch Topic
  • New Topic