Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UFO演算子について
Search
Hirofumi Wakasugi
September 11, 2016
Programming
0
320
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
87
Other Decks in Programming
See All in Programming
Serverless苦闘史
mosh_inc
0
130
Swift Testing - iPlayground
chiaoteni
0
130
物流システムにおけるリファクタリングとアーキテクチャの再構築 〜依存関係とモジュール分割の重要性〜
deeprain
1
220
romajip: 日本の住所CSVデータを活用した英語住所変換ライブラリを作った話
sangunkang
0
2.2k
PaaSとSaaSの境目で信頼性と開発速度を両立する 〜TROCCO®︎のこれまでとこれから〜
gtnao
5
5.4k
Develop iOS apps with Neovim / vimconf_2024
uhooi
1
120
Jakarta EE meets AI
ivargrimstad
0
1.2k
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
250
社内活動の取り組み紹介 ~ スリーシェイクでこんな取り組みしてます ~
bells17
0
290
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
0
2.7k
みんなでプロポーザルを書いてみた
yuriko1211
0
300
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
2.7k
Featured
See All Featured
KATA
mclloyd
29
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
27
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Unsuck your backbone
ammeep
668
57k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Visualization
eitanlees
145
15k
Side Projects
sachag
452
42k
Rails Girls Zürich Keynote
gr2m
94
13k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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 :PVDBOXSJUFMJLFUIJTVTJOHJUTJNQM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