Kotlinとは? 近年Scalaを筆頭に、RedHat社のCeylonやEclipse FoundationのXtendなど、JavaVM上で動作する新言語が多数登場している。これらの言語はいずれもJava同様に静的型付けのオブジェクト指向言語でありながら、関数型言語の特徴を取り入れている。Kotlinもこれらの新言語のひとつで、IntelliJ IDEAなどのIDEでお馴染みのJetBrains社によって開発されている。 KotlinをWebブラウザで試してみる JetBrains社のWebサイトでは、KotlinをWebブラウザで試すことができるデモサイトが公開されている。Kotlinがどのような言語なのかを知るには、まずこのデモでいろいろと試してみるといいだろう。 このデモでは左側のメニューにKotlinの様々なサンプルが用意されており、選択することでエディタに該当のサンプルコード