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
オブジェクトしこう
Search
Masafumi Okura
March 24, 2024
Programming
2
150
オブジェクトしこう
タイトルがやりたかっただけ。
https://ooc.connpass.com/event/305241/
Masafumi Okura
March 24, 2024
Tweet
Share
More Decks by Masafumi Okura
See All by Masafumi Okura
Debugging Alba
okuramasafumi
1
94
Learning Ruby
okuramasafumi
5
440
How to build a conference for both newbies and seasoned devs
okuramasafumi
1
1.2k
Why doesn't Ruby have Boolean class?
okuramasafumi
4
1.9k
Writing Minitest clone in 30 minutes
okuramasafumi
0
310
Developing a Vim plugin with Ruby
okuramasafumi
0
550
On proposals
okuramasafumi
0
250
5
okuramasafumi
0
190
(Not) Learning English
okuramasafumi
1
1.7k
Other Decks in Programming
See All in Programming
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
360
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
340
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
Fast JSX: Don't clone props object #28768
yossydev
1
130
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
430
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
Fireside Chat
paigeccino
21
2.6k
Into the Great Unknown - MozCon
thekraken
10
1k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
Debugging Ruby Performance
tmm1
70
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
A better future with KSS
kneath
231
16k
Thoughts on Productivity
jonyablonski
58
3.8k
Building Your Own Lightsaber
phodgson
99
5.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
Transcript
ΦϒδΣΫτ͜͠͏ Object-Oriented Conference 2024 OKURA Masafumi, 2024-03-24
ࣗݾհ • ໊લɿେխ࢙ • ॴଐɿϑϦʔϥϯε • ಘҙݴޠɿRubyʢΦϒδΣΫτࢦεΫϦϓτݴޠʣ • ΤσΟλɿNeovim •
՝֎׆ಈɿKaigi on RailsνʔϑΦʔΨφΠβʔɺOSS׆ಈɺ֤छొஃ ʢEurukoɺσϒαϛɺBuriKaigiͳͲʣ
None
͜͠͏
ʮࢼߦʯࡨޡ
ᅂ
ΦϒδΣΫτᅂ Object-Oriented Conference 2024 OKURA Masafumi, 2024-03-24
͓
͖ͳ ΦϒδΣΫτ
nil
͑ɺnilʁ • RubyͰnilNilClassͷΠϯελϯε • nil͕ΦϒδΣΫτͩͱϝιου͕ݺͯศར • ྫ͑to_sͰจࣈྻʹͨ͠ΓͰ͖Δ • ؾΛൈ͍ͯNoMethodErrorʹͳΔͷ͍͍ͩͨ͜Ε
͖ͳΫϥε
UnboundMethod Ϋϥε
͑ɺϝιουʁ • RubyͰϝιουΫϥεʢMethodΫϥεʣ • ϝιουͦͷͷ͍ΘΏΔୈҰڃΦϒδΣΫτͰͳ͍ʢͦͷ༻్ ʹϒϩοΫΛ͏ʣ͕ɺΦϒδΣΫτԽ؆୯ʹͰ͖Δ • UnboundMethodΫϥεΠϯελϯε͔ΒΓ͞ΕͨϝιουΛ දݱ͢ΔΫϥε •
ͦͷ··ͰcallͰ͖ͳ͍ͷͰɺbind͢Δඞཁ͕͋Δ
ࣗ༝ͳ ϓϩάϥϛϯάʂ
ݴޠͷॏཁੑ
ݴޠ͕ࢥߟΛنఆ͢Δ • ਓݴޠ͕ఏڙ͢ΔͷதͰࢥߟ͢Δ • ͦΕ͕ݴޠͷׂͷҰͭͰ͋Δ • ͍ͬͯΔݴޠͷΈ͕ϦονͩͱɺࢥߟϦονʹͳΔ • ݴޠʹଉۤ͠͞Λײͨ͡Βҧ͏ݴޠΛࢼͯ͠ΈΔͷΞϦ͔
ΦϒδΣΫτࢥߟ
ΦϒδΣΫτࢥߟ Object-Oriented Conference 2024 OKURA Masafumi, 2024-03-24