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
300
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
3.5k
trocco® の品質を守る、とても普通な取り組み
kekekenta
0
5.6k
Embulkを利用したデータ統合SaaSの構築と運用
kekekenta
2
5.1k
Kubernetes (EKS) で構築する スケーラブルなジョブ実行基盤
kekekenta
7
6.4k
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
35
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
94
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
Writing Fast Ruby
sferik
630
62k
The Limits of Empathy - UXLibs8
cassininazir
1
200
How Software Deployment tools have changed in the past 20 years
geshan
0
31k
The SEO Collaboration Effect
kristinabergwall1
0
320
Designing for Performance
lara
610
70k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
72
Skip the Path - Find Your Career Trail
mkilby
0
38
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: 会社でよく使われるスタンプ