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

Oleg Varaksin
2 min readJan 3, 2022

--

Photo by Max Duzij on Unsplash

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.

--

--

Oleg Varaksin
Oleg Varaksin

Written by Oleg Varaksin

Thoughts on software development. Author of “PrimeFaces Cookbook” and “Angular UI Development with PrimeNG”. My old blog: http://ovaraksin.blogspot.de