If...
If you are happy with
Swahili
you don't need Kotlin
What
Why
What
Why
Kotlin is...
not
?
Kotlin is
Java is a Great Platform!
... Never create a programming language ...
Target Platforms
1/2
A modern language
- Statically typed
- General-purpose
- Open Source
- For Industrial Use
> 50K classes
Java
JavaScript
2002: Java 1.4 — IntelliJ 3.0
2004: Java 5 — IntelliJ 4.0
www.coffeekultures.com
3.5 Compilers
X
≈
- NOT a Research Project
- NOT a Domain-Specific Language
- NOT a Proprietary Language
Compiler
2012: Java 6 — IntelliJ 11
by
Andrey Breslav
Design Goals
100% Java-compatible
Learnable!
Open Source
2012
Apache 2 License
Timeline
http://github.com/jetbrains/kotlin
Beta
M1
M2
M3
Parts of
Use at
Bootstrap
Spec & Release (v. 1.0)
Examples
Builders
Type-Safe
Hello, world!
Classes
Extension Functions
Higher-Order Functions
Operator Overloading
Null-Safety
Smart Casts
Annotations
Nobody likes NPEs...
Safe Calls
Data Flow
Smart Cast
Rename
on
import
Annotations
as
modifiers
More
Making
Java Platform
- Traits (code in interfaces)
- First-class delegation
- Modules
- Generics with proper variance
- ...
a Better Place
http://jetbrains.com/kotlin
Challenge
Web Demo:
- kotlin-demo.jetbrains.com
http://kotlin-demo.jetbrains.com
Competition:
- Most retweets (minimum of 20)
- By next Monday, March 26
Wins
IntelliJ IDEA Ultimate
Open Source
http://github.com/JetBrains/Kotlin
Apache 2 License
Kompiler
IntelliJ IDEA Plugin
Kontribute
Patches
Libraries
Tools
Collection & IO
utilities
by James Strachan
Ant & Maven
by Evgeny Goldin
Resources
Home Page: jetbrains.com/kotlin
Web Demo: kotlin-demo.jetbrains.com
Blog: blog.jetbrains .com/kotlin
Forum: Kotlin at devnet.jetbrains.com
http://github.com/jetbrains/kotlin