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

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: 574
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A javascript class?
 
Marshal
Posts: 65423
248
  • 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: 574
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.
 
What's gotten into you? Could it be this tiny ad?
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!