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
91
Kotlin.pdf
Srikrishna
October 26, 2017
Tweet
Share
More Decks by Srikrishna
See All by Srikrishna
Exploiting the Potentials of Enterprise Cache
srikrishnacj
0
19
History of Virtualization
srikrishnacj
0
160
ReactiveX
srikrishnacj
0
37
FPay
srikrishnacj
0
56
Maven
srikrishnacj
0
30
WebRTC
srikrishnacj
0
34
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
134
9.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Statistics for Hackers
jakevdp
799
220k
How GitHub (no longer) Works
holman
314
140k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
RailsConf 2023
tenderlove
30
1.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Site-Speed That Sticks
csswizardry
10
690
We Have a Design System, Now What?
morganepeng
53
7.7k
It's Worth the Effort
3n
185
28k
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]