• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Get Programming with Scala: compared to Kotlin  RSS feed

 
Master Rancher
Posts: 3038
106
  • 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
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: 3038
106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,  Daniela!
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!