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
Ruby はじめての型 Gotanda.rb 2023/04/20
Search
Kenta Suzuki
April 20, 2023
0
260
Ruby はじめての型 Gotanda.rb 2023/04/20
Gotanda.rb#52@オンライン
2023/04/20
https://gotanda-rb.connpass.com/event/279674/
Kenta Suzuki
April 20, 2023
Tweet
Share
More Decks by Kenta Suzuki
See All by Kenta Suzuki
trocco®での インシデント重大度表(SEVレベル表)運用
kekekenta
0
3k
trocco® の品質を守る、とても普通な取り組み
kekekenta
0
5.1k
Embulkを利用したデータ統合SaaSの構築と運用
kekekenta
2
4.8k
Kubernetes (EKS) で構築する スケーラブルなジョブ実行基盤
kekekenta
7
6.2k
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
23
2.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
What's in a price? How to price your products and services
michaelherold
245
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Site-Speed That Sticks
csswizardry
5
500
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
Scaling GitHub
holman
459
140k
The Invisible Side of Design
smashingmag
299
50k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
The Cost Of JavaScript in 2023
addyosmani
49
7.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Music & Morning Musume
bryan
47
6.5k
Transcript
Ruby はじめての型 株式会社primeNumber 鈴木 健太(@kekekenta) 2023/04/20 Gotanda.rb
©primeNumber Inc. 鈴木 健太 WHO AM I? 株式会社primeNumber CTO •
trocco® というETLサービスを作っています • 会社(primeNumber)は目黒駅 • 五反田在住 • 五反田で良く飲んでます 🍺 好きな居酒屋: 大衆酒場BEETLE、そのだ、うお宿 1 2
Ruby の型、触ったことありますか? Gotanda.rb のみなさんへの質問
触ったこと ない方 ✋
✋ 私もはじめて触りました
型を少しだけ触った感想
良い 🎉
:warning:
型を体験してしまうと、 型のない開発が辛く感じる (かも知れません)
さて
Rubyエンジニアの皆さん
親の顔ほど見た、忌まわしき エラーメッセージ
undefined method ` ’xxxx’ for nil:NilClass
👋 もう見たくない 👋
型により、 null安全なコードが書けます 🎉 🎉 🎉
百聞は一見にしかず DEMOします
:thanks: 会社でよく使われるスタンプ