DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Coding
  3. Java
  4. Kotlin 1.0 Is Now Available and the Newest JVM Language Is a Breeze

Kotlin 1.0 Is Now Available and the Newest JVM Language Is a Breeze

Yes, the JVM just gained another general-availability language. Java isn't just alive and well; it's still giving birth to vibrant new languages that make the power of the JVM continually easier to harness.

John Esposito user avatar by
John Esposito
·
Feb. 15, 16 · News
Like (15)
Save
Tweet
Share
19.62K Views

Join the DZone community and get the full member experience.

Join For Free

JetBrains today announced general availability of Kotlin 1.0, a multi-paradigm (OO+functional) JVM language specifically designed to improve Java developers' user experience.

Yes, the JVM just gained another general-availability language. Java isn't just alive and well; it's still giving birth to vibrant new languages that make the power of the JVM continually easier to harness.

And no, Kotlin isn't a new implementation of ancient (if awesome) language features that purify, simplify, or empower developers to create previously unimaginable program flows..that who knows how many applications are actually going to need.

On the contrary: this time the toolmaker is driving the language -- not the other way round. Kotlin is created by JetBrains, makers of IntelliJ IDEA (and much more), and maintained by >20 full-time employees. And in the real world, features don't make developers adopt a language. Libraries, existing code, tool availability, and overall developer experience do.

Even Kotlin's new features are driven by developer UX.  Take the type system, for example -- particularly delightful for those of us who are trying to write Java applications that don't suffer fallout from the worst mistake in computer science. You guessed it: Kotlin's creators have "aimed at eliminating null references from code" altogether.

Abstracting from the details, the creation of Kotlin's type system must have included something like this: Kotlin Designer 1: "You know what's the worst?" Kotlin Designer 2: "Ugh, null pointer exceptions are the worst." Kotlin Designer 1: "Yeah, death to NPEs. So let's distinguish nullable from non-null references, have the compiler check for null property access (and choke if you try one), add a null coalescing operator, and if you really really want it still let you throw an NPE -- but only if you say so explicitly."

Another convincing bit of developer-love? Kotlin's collection interfaces are JDK compatible. As we'd say in Kotlin:

val cheers: MutableList<Int> = mutableListOf(1, 2, 3)

(*Hey semicolons are inferred too! My right fourth finger is celebrating that one.)

Of course, Kotlin is open-source (Apache 2.0 license), downloads are in the tens of thousands, Kotlin LOC on GitHub are blowing through an exponential roof, and other cool things you'd expect from a new JVM language GA. Oh, and Kotlin plays beautifully with Android, too (yes, it supports Java 6 bytecode). 

So check out the release announcement. Read the docs (seriously, a breeze, especially next to something like Scala) or dive right in.

And stay tuned for an exclusive interview with Andrey Breslav, Kotlin's project lead.


Java (programming language) Java virtual machine Kotlin (programming language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Low-Code Development: The Future of Software Development
  • AWS CodeCommit and GitKraken Basics: Essential Skills for Every Developer
  • Keep Your Application Secrets Secret
  • Authenticate With OpenID Connect and Apache APISIX

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: