Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Head First Kotlin - Another generala purpose language or a more specific one  RSS feed

 
Ranch Hand
Posts: 56
1
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Would one regard Kotlin as a specific scripting/programming language, like Groovy for example or another full fledged general purpose programming language like Java or C/C++? What would be the drive for one to learn this new language, and more importantly how to convince your boss that it's worth investing in a training program for the entire development team.

Thank  you.
 
Author
Posts: 105
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello :-)

It's a general purpose language, like Java or C++. The reason (initially) was to create a more modern language that could be used in the same way that Java could be used. That was one reason why Google chose it for Android development. Kotlin can be compiled down to the same byte codes as Java, and so can be run on Android devices, without needing to create a whole new tool chain. However, it can also be used to create more expressive server-side code that Java, and also it became clear that because it is a general language, it would also be possible to transpire it into languages like JavaScript which will allow it to run inside node and inside browsers. More recently, Kotlin native allows it to be used on devices that have neither Java nor JavaScript.

Why should you learn it? Simply because it will *probably* integrate with your existing projects, and it will give you access to features like co-routines and more advanced generics.

Thanks for the great question!

D+D
 
Rancher
Posts: 352
21
Clojure Linux Mac OS X Monad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

R.J. Arzki wrote:specific scripting/programming language, like Groovy


I'm curious as to why you would categorize Groovy like that? I would consider Groovy to be a full, general-purpose language for the JVM -- just like Clojure, Kotlin, Scala, and several other languages that have appeared since Java.
 
R.J. Arzki
Ranch Hand
Posts: 56
1
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David Griffiths wrote:Hello :-)

It's a general purpose language, like Java or C++. The reason (initially) was to create a more modern language that could be used in the same way that Java could be used. That was one reason why Google chose it for Android development. Kotlin can be compiled down to the same byte codes as Java, and so can be run on Android devices, without needing to create a whole new tool chain. However, it can also be used to create more expressive server-side code that Java, and also it became clear that because it is a general language, it would also be possible to transpire it into languages like JavaScript which will allow it to run inside node and inside browsers. More recently, Kotlin native allows it to be used on devices that have neither Java nor JavaScript.

Why should you learn it? Simply because it will *probably* integrate with your existing projects, and it will give you access to features like co-routines and more advanced generics.

Thanks for the great question!

D+D



Thank you for the detailed answer. I will definitely check it out in the near future (if I'm lucky soon with the help of your book )
 
R.J. Arzki
Ranch Hand
Posts: 56
1
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sean Corfield wrote:

R.J. Arzki wrote:specific scripting/programming language, like Groovy


I'm curious as to why you would categorize Groovy like that? I would consider Groovy to be a full, general-purpose language for the JVM -- just like Clojure, Kotlin, Scala, and several other languages that have appeared since Java.



You are right, Groovy is much more than just a scripting language. I've just come to personally associating it to a scripting language because of the way I am using it in my daily work (Unit and Functional testing of ETL processes inside SoapUI).
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!