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
0
24
Motif Lightning Talk
Scala-like pattern matching for Java 8
John Leacox
June 09, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Apache Iceberg V3 and migration to V3
tomtanaka
0
180
AI時代の認知負荷との向き合い方
optfit
0
170
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
AI & Enginnering
codelynx
0
120
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
150
CSC307 Lecture 06
javiergs
PRO
0
690
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
150
今から始めるClaude Code超入門
448jp
8
9.1k
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
It's Worth the Effort
3n
188
29k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
400
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
The Limits of Empathy - UXLibs8
cassininazir
1
220
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
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