Home » Software Development » Comparison of language features between Java, Kotlin, Dart and TypeScript

About Oleg Varaksin

Comparison of language features between Java, Kotlin, Dart and TypeScript

Some time ago I blogged about language features in TypeScript and Dart which I miss in Java.

In this blog post, due to my new expertise in Kotlin, I would like to consider Kotlin too. Every programming language has a main focus where it is used. Java is primarily used in backend, Kotlin in backend + frontend (Android) and Dart, TypeScript are mostly used in frontend.

I have created a comparison of various language features in form of compact tabular cheat sheet. I only considered features which are (partially) existing at least in two programming languages. There is much similarity across different programming languages. But sure, there are unique features per programming language too. Such features are not considered due to huge amount of them. Furthermore, I have taken the latests and greates versions into account.

List of references:

Do you know more features to be compared? Feel free to leave comments.

Published on Java Code Geeks with permission by Oleg Varaksin, partner at our JCG program. See the original article here: Comparison of language features between Java, Kotlin, Dart and TypeScript

Opinions expressed by Java Code Geeks contributors are their own.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design

 

and many more ....

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
SuperPat
SuperPat
5 months ago

The icon of Java and Kotlin for traditional for loop are inverted.

Last edited 5 months ago by SuperPat
Isuru
Isuru
5 months ago

Kotlin can do ternary, it’s just more clearer than others