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
Motif Lightning Talk
Search
John Leacox
June 09, 2015
Programming
25
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Motif Lightning Talk
Scala-like pattern matching for Java 8
John Leacox
June 09, 2015
Other Decks in Programming
See All in Programming
ActionController meets Protocol Buffers
sorah
0
530
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
Domain-Driven Transformation
hschwentner
2
2.3k
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
AmebaブログはKMPから卒業します
kmars0605
0
190
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Technical Leadership for Architectural Decision Making
baasie
3
600
Making the Leap to Tech Lead
cromwellryan
135
10k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
GraphQLとの向き合い方2022年版
quramy
50
15k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.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