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
210
オブジェクトしこう
タイトルがやりたかっただけ。
https://ooc.connpass.com/event/305241/
Masafumi Okura
March 24, 2024
Tweet
Share
More Decks by Masafumi Okura
See All by Masafumi Okura
Why did my proposals get rejected?
okuramasafumi
1
340
A suggestion for the future of RDoc
okuramasafumi
1
63
15 JSON serializers for Ruby
okuramasafumi
2
110
Tech Events, Should We See Them from the Outside or the Inside?
okuramasafumi
1
37
Creating gems 101
okuramasafumi
1
70
How NOT to make your DSL terrible
okuramasafumi
0
270
Debugging Alba
okuramasafumi
1
180
Learning Ruby
okuramasafumi
5
550
How to build a conference for both newbies and seasoned devs
okuramasafumi
1
1.8k
Other Decks in Programming
See All in Programming
AWS IaCの注目アップデート 2024年10月版
konokenj
3
2.3k
Prompt Engineering for Developers @ AWS Community Day Adria 2024
slobodan
0
120
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
120
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
380
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
970
Nuxt UI Pro、NuxtHub、Nuxt Scripts、Nuxtエコシステムをふんだんに利用して開発するコーポレートサイト@Vue Fes Japan 2024
shingangan
3
850
破壊せよ!データ破壊駆動で考えるドメインモデリング / data-destroy-driven
minodriven
15
3.8k
Vertical Architectures for Scalable Angular Applications
manfredsteyer
PRO
0
290
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
380
Progressive Web Apps für Desktop und Mobile mit Angular (Hands-on)
christianliebel
PRO
0
100
WEBエンジニア向けAI活用入門
sutetotanuki
0
290
Vue.js学習の振り返り
hiro_xre
2
130
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Embracing the Ebb and Flow
colly
84
4.4k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Ruby is Unlike a Banana
tanoku
96
11k
Building Adaptive Systems
keathley
38
2.2k
Visualization
eitanlees
143
15k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Making Projects Easy
brettharned
115
5.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
41
2.1k
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