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
410
オブジェクトしこう
タイトルがやりたかっただけ。
https://ooc.connpass.com/event/305241/
Masafumi Okura
March 24, 2024
Tweet
Share
More Decks by Masafumi Okura
See All by Masafumi Okura
My KaigiEffect at RubyKaigi 2025, part 1
okuramasafumi
1
25
Writing documentation can be fun with plugin system
okuramasafumi
0
170
Alba: Why, How and What's So Interesting
okuramasafumi
0
330
Why did my proposals get rejected?
okuramasafumi
1
620
A suggestion for the future of RDoc
okuramasafumi
1
260
15 JSON serializers for Ruby
okuramasafumi
2
320
Tech Events, Should We See Them from the Outside or the Inside?
okuramasafumi
1
60
Creating gems 101
okuramasafumi
2
120
How NOT to make your DSL terrible
okuramasafumi
0
510
Other Decks in Programming
See All in Programming
Optimizing JRuby 10
headius
0
580
Vibe Coding の話をしよう
schroneko
14
3.7k
マイコンでもRustのtestがしたい/KernelVM Kansai 11
tnishinaga
0
850
プロダクトエンジニアのしごと 〜 受託 × 高難度を乗り越えるOptium開発 〜
algoartis
0
200
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
1.2k
The Missing Link in Angular’s Signal Story: Resource API and httpResource
manfredsteyer
PRO
0
140
The Nature of Complexity in John Ousterhout’s Philosophy of Software Design
philipschwarz
PRO
0
160
M5UnitUnified 最新動向 2025/05
gob
0
140
MySQL初心者が311個のカラムにNot NULL制約を追加していってALTER TABLEについて学んだ話
hatsu38
2
110
Embracing Ruby magic
vinistock
2
210
実践Webフロントパフォーマンスチューニング
cp20
45
10k
RuboCop: Modularity and AST Insights
koic
3
2.6k
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
Faster Mobile Websites
deanohume
306
31k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Adopting Sorbet at Scale
ufuk
76
9.4k
Done Done
chrislema
184
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
600
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.2k
4 Signs Your Business is Dying
shpigford
183
22k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
How to train your dragon (web standard)
notwaldorf
91
6k
How STYLIGHT went responsive
nonsquared
100
5.5k
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