• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Are there any places you think Kotlin would not be a good language?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most programming languages are general purpose but often some have a better fit for different domains. Are there any places you anticipate that Kotlin would not be a good fit?
 
Ranch Hand
Posts: 562
1
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A javascript class?
 
Marshal
Posts: 64693
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jim Venolia wrote:A javascript class?

Hahahahahahahahahahahaha!
 
Author
Posts: 105
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kotlin's a general purpose language, so it would be a good choice for most general purpose tasks--including for creating some code running under JavaScript. If you were creating code for a specialised task, other languages will obviously be more appropriate. It would be possible to create an entire single page application in Kotlin compiled down to JS, but I'm not sure it's quite ready for that yet. JS/Typescript have that sort of area pretty sewn up and would be a more reasonable choice. If you wanted to do metalinguistic programming and needed features like macros, then something like LISP would be the place to look.

But if you want a good, solid language for most typical tasks, Kotlin is a very good place to look :-)

D+D
 
Jim Venolia
Ranch Hand
Posts: 562
1
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything dealing with hardware would be a bad fit.  OS internals, device drivers, etc.  Unless it has an unsigned byte parsing bitstreams (MPEG 2, etc) will be problematic.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!