Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Java?.Kotlin!!
Search
sebastian tellez
May 26, 2017
Programming
93
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Java?.Kotlin!!
Platica para el meetup de Kotlin nights en la CDMX
sebastian tellez
May 26, 2017
Other Decks in Programming
See All in Programming
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
ジョジョの世界をXRで再現する
mofurune
0
160
AmebaブログはKMPから卒業します
kmars0605
0
180
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
Domain-Driven Transformation
hschwentner
2
2.3k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
190
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
4
3.5k
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
590
Designing Experiences People Love
moore
143
24k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
A better future with KSS
kneath
240
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Typedesign – Prime Four
hannesfritz
42
3.2k
Between Models and Reality
mayunak
4
500
Transcript
Java?.Kotlin!! Sebastian Tellez @gorrotowi github.com/gorrotowi
Java?.Kotlin!! Kotlin es un lenguaje de programación desarrollado por JetBrains.
Es funcional, esta diseñado para correr sobre la JVM, Android y Web
Java?.Kotlin!! Funcional Lambdas 100% interoperable con Java (JVM) NullSafety
Java?.Kotlin!! Ryan (James) Gosling a.k.a Java father
Java?.Kotlin!!
Java?.Kotlin!!
Java?.Kotlin!!
Java?.Kotlin!! private String numberString; int number = Integer.parseInt(numberString); //java
Java?.Kotlin!!
Java?.Kotlin!! private String numberString; if(numberString != null){ int number =
Integer.parseInt(numberString); } private String numberString; int number = Integer.parseInt(numberString); //java
Java?.Kotlin!! var a: String = "abc" a = null //
compilation error var b: String? = "abc" b = null // ok
Java?.Kotlin!! var a: String = "abc" val sizeA = a.length
var b: String? = "abc" b = null // ok var sizeB = b.length //error: variable 'b' can be null
Java?.Kotlin!! if (b != null && b.length > 0) {
print("String of length ${b.length}") } else { print("Empty string") }
Java?.Kotlin!! var a: String = "abc" val sizeA = a.length
var b: String? = "abc" b = null // ok var sizeB = b.length //error: variable 'b' can be null
Java?.Kotlin!! var sizeB = b?.length
Java?.Kotlin!! ?:
Java?.Kotlin!! val l = if (b != null) b.length else
-1
Java?.Kotlin!! val l = b?.length ?: -1
Java?.Kotlin!! fun foo(node: Node): String? { val parent = node.getParent()
?: return null val name = node.getName() ?: throw IllegalArgumentException("name expected") // ... }
Java?.Kotlin!! private String numberString; if(numberString != null){ int number =
Integer.parseInt(numberString); } private String numberString; int number = Integer.parseInt(numberString); //java //Kotlin
Java?.Kotlin!! val aInt: Int? = numberString as? Int //Kotlin
Java?.Kotlin!! val listWithNulls: List<String?> = listOf("A", null) for (item in
listWithNulls) { item?.let { println(it) } // prints A and ignores null }
Java?.Kotlin!! val fooFighters = b!!.length
Java?.Kotlin!!
Java?.Kotlin!! https://kotlinlang.org/docs/reference/ https://fabiomsr.github.io/from-java-to-kotlin/index.html https://try.kotlinlang.org/
Java?.Kotlin!! Sebastian Tellez @gorrotowi github.com/gorrotowi GRACIAS!!