Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kotlin.pdf
Search
Srikrishna
October 26, 2017
0
83
Kotlin.pdf
Srikrishna
October 26, 2017
Tweet
Share
More Decks by Srikrishna
See All by Srikrishna
Exploiting the Potentials of Enterprise Cache
srikrishnacj
0
17
History of Virtualization
srikrishnacj
0
140
ReactiveX
srikrishnacj
0
31
FPay
srikrishnacj
0
54
Maven
srikrishnacj
0
27
WebRTC
srikrishnacj
0
31
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Learning to Love Humans: Emotional Interface Design
aarron
268
39k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Building Effective Engineering Teams - LeadDev
addyosmani
33
1.9k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
2k
Atom: Resistance is Futile
akmur
260
25k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
Transcript
Kotlin
Kotlin I am 100% JVM compatible Statically typed programming language
Blend of the best features in all languages - Am I just another one ?
None
Why Kotlin now ? JetBrains has there own needs and
now we have our own
Productivity Total success! Reputation And a lot of users IDE
Sales That’s a lot of money
Google makes Kotlin a first-class language
None
Lines of Code in 2016 Lines of Code in 2017
What's so exciting about Kotlin for Android and Enterprise developers?
Kotlin is 100% interoperable with Java Kotlin compiles to .class
Java is old on Android. Kotlin, It's unashamed
Kotlin is multi-platform & supports Scripting
The Kotlin is easy to learn, especially for Java developer
Tools & Support It’s really important and worlds best IDE
Company is backing us.
Kotlin Sits on the Shoulders of Giants
Key difference With Kotlin write less code, be happy
No Static and Primitive Types ; is optional
None
None
None
Data Class are Java Pojo & Deep cloning is free
None
None
None
None
Named and Default Params fun named(message:String = "Success", statusCode:Int= 200)
= println("message $message, statusCode $statusCode") named(); named("Failed"); named(statusCode = 500) message Success, statusCode 200 message Failed, statusCode 200 message Success, statusCode 500
Extention Functions
None
Lamda & Streams & Others
It makes Android development much easier with simplified API
None
It makes Android development much easier
THANKS! Any questions? You can find me at:
[email protected]