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
300
オブジェクトしこう
タイトルがやりたかっただけ。
https://ooc.connpass.com/event/305241/
Masafumi Okura
March 24, 2024
Tweet
Share
More Decks by Masafumi Okura
See All by Masafumi Okura
Alba: Why, How and What's So Interesting
okuramasafumi
0
190
Why did my proposals get rejected?
okuramasafumi
1
510
A suggestion for the future of RDoc
okuramasafumi
1
150
15 JSON serializers for Ruby
okuramasafumi
2
200
Tech Events, Should We See Them from the Outside or the Inside?
okuramasafumi
1
47
Creating gems 101
okuramasafumi
1
94
How NOT to make your DSL terrible
okuramasafumi
0
390
Debugging Alba
okuramasafumi
1
210
Learning Ruby
okuramasafumi
5
580
Other Decks in Programming
See All in Programming
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
4.8k
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
160
AHC041解説
terryu16
0
310
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.7k
Androidアプリの One Experience リリース
nein37
0
1.1k
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
530
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.4k
Beyond ORM
77web
11
1.6k
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
620
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
200
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
182
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
50k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
860
Designing Experiences People Love
moore
139
23k
A better future with KSS
kneath
238
17k
A Tale of Four Properties
chriscoyier
157
23k
Building an army of robots
kneath
302
45k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Music & Morning Musume
bryan
46
6.3k
What's in a price? How to price your products and services
michaelherold
244
12k
Optimising Largest Contentful Paint
csswizardry
33
3k
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