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
Motif Lightning Talk
Search
John Leacox
June 09, 2015
Programming
25
0
Share
Motif Lightning Talk
Scala-like pattern matching for Java 8
John Leacox
June 09, 2015
Other Decks in Programming
See All in Programming
3Dシーンの圧縮
fadis
1
580
New "Type" system on PicoRuby
pocke
1
430
dRuby over BLE
makicamel
2
290
Modding RubyKaigi for Myself
yui_knk
0
860
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
430
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
AIエージェントと協働するCLI開発 — BunとOpenClawで学んだこと
yoshikouki
1
230
AIとRubyの静的型付け
ukin0k0
0
510
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
220
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
1k
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.5k
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
120
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Deep Space Network (abreviated)
tonyrice
0
160
Facilitating Awesome Meetings
lara
57
6.9k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
840
ラッコキーワード サービス紹介資料
rakko
1
3.5M
Faster Mobile Websites
deanohume
310
31k
Marketing to machines
jonoalderson
1
5.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
150
Transcript
Motif Scala-like pattern matching for Java 8 @johnlcox
Traditional Java Fizzbuzz
Scala FizzBuzz
Java FizzBuzz with Motif
Scala Option vs Java Optional
Java Optional Traditional
Scala lists vs Java lists
Java list traditional
Additional Features • Case class matching • TypeOf matching (instanceof)
• Primitive matching • Hamcrest Matchers matching
Links john.leacox.com/motif github.com/johnlcox/motif