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
93
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
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
Building an army of robots
kneath
306
46k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Code Review Best Practice
trishagee
70
19k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Balancing Empowerment & Direction
lara
3
620
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
A designer walks into a library…
pauljervisheath
207
24k
Being A Developer After 40
akosma
90
590k
It's Worth the Effort
3n
187
28k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
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]