DZone
Java Zone
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
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > 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 · Java Zone · News
Like (15)
Save
Tweet
19.44K 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

  • SRE From Theory to Practice: What's Difficult About On-Call?
  • A Concise Guide to DevSecOps and Their Importance in CI/CD Pipeline
  • Build a Java Microservice With AuraDB Free
  • The Essential Web3 Tools and Technologies Developers Must Know

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • 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:

DZone.com is powered by 

AnswerHub logo