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
UFO演算子について
Search
Hirofumi Wakasugi
September 11, 2016
Programming
0
310
UFO演算子について
RubyKaigi 2016 After Party (2016-09-10)
Hirofumi Wakasugi
September 11, 2016
Tweet
Share
More Decks by Hirofumi Wakasugi
See All by Hirofumi Wakasugi
Racc Introduction
5t111111
1
410
Keep Calm and Enjoy Gachima
5t111111
3
350
Swift Functional Programming
5t111111
0
260
Middleman on Production
5t111111
0
160
名古屋Ruby会議03 高速一言感想
5t111111
3
1k
ドキュメント翻訳懺悔のLT ~進捗ダメです~
5t111111
1
580
Rubyと戯れるOSS DTM
5t111111
4
740
Rubyの拡張をCrystalで書いてみる
5t111111
0
100
YARV INTRODUCTION
5t111111
0
86
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
Ethereum_.pdf
nekomatu
0
460
初めてDefinitelyTypedにPRを出した話
syumai
0
400
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
330
役立つログに取り組もう
irof
28
9.6k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
Remix on Hono on Cloudflare Workers
yusukebe
1
280
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
200
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
169
14k
Making Projects Easy
brettharned
115
5.9k
Being A Developer After 40
akosma
86
590k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Six Lessons from altMBA
skipperchong
27
3.5k
Unsuck your backbone
ammeep
668
57k
Facilitating Awesome Meetings
lara
50
6.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
89
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Why Our Code Smells
bkeepers
PRO
334
57k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Site-Speed That Sticks
csswizardry
0
23
Transcript
6'0 ԋࢉࢠ ʹ͍ͭͯ (What's the Story) Spaceship Operator? Hirofumi Wakasugi
(@5t111111)
ϓϩάϥϚʔ Hirofumi Wakasugi (@5t111111)
4QBDFTIJQ0QFSBUPS DMBTT4J[F.BUUFST JODMVEF$PNQBSBCMF EFGJOJUJBMJ[F TUS !TUSTUS FOE
EFG PUIFS TUSTJ[FPUIFSTUSTJ[F FOE FOE w #BTJDPQFSBUPSGPSDPNQBSJOHUIFSFDFJWFSBHBJOTUBOPUIFSPCKFDU w "MTPLOPXOBTl6'0PQFSBUPSz MFBTUJO+BQBO w $MBTTFTNJYJOT$PNQBSBCMFNVTUJNQMFNFOU
*NQMFNFOUBUJPOPG w1PTJUJWFOVNCFSJGTFMGJTHSFBUFSUIBOPUIFS w;FSPJGTFMGJTFRVBMUPPUIFS w/FHBUJWFOVNCFSJGTFMGJTMFTTUIBOPUIFS DMBTT'PP ǘ EFG PUIFS SFUVSOJGTJ[FPUIFSTJ[F
SFUVSOJGTJ[FPUIFSTJ[F SFUVSOJGTJ[FPUIFSTJ[F FOE FOE GPPGPPUSVFGBMTF *UTIPVMESFUVSO
w :PVDBOXSJUFMJLFUIJTVTJOHJUTJNQMFNFOUBUJPO w -PPLTQSFUUZDPOWFOJFOU EPFTO`UJU "UJQGPSVTJOH DBTF GPPCBS XIFO
QVUTGPPJTFRVBMUPCBS XIFO QVUTGPPJTHSFBUFSUIBOCBS FMTF QVUTGPPJTMFTTUIBOCBS FOE
w :PVDBOXSJUFMJLFUIJTVTJOHJUTJNQMFNFOUBUJ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