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
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
蒼時弦や
August 02, 2020
Technology
150
0
Share
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
蒼時弦や
August 02, 2020
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
200
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
220
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
460
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
680
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
440
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
500
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
520
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
280
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
310
Other Decks in Technology
See All in Technology
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
310
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
190
レガシーシステムをどう次世代に受け継ぐか
tachiiri
0
260
機能・非機能の学びを一つに!Agent Skillsで月間レポート作成始めてみた / Unifying Bug & Infra Insights — Building Monthly Quality Reports with Agent Skills
bun913
5
3.1k
Cortex Codeでデータの仕事を全部Agenticにやりきろう!
gappy50
0
300
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
77k
主催・運営として"場をつくる”というアウトプットのススメ
_mossann_t
0
110
JAWS DAYS 2026でAIの「もやっと」感が解消された話
smt7174
1
130
ストライクウィッチーズ2期6話のエイラの行動が許せないのでPjMの観点から何をすべきだったのかを考える
ichimichi
1
190
Webアクセシビリティは“もしも”に備える設計
tomokusaba
0
160
「できない」のアウトプット 同人誌『精神を壊してからの』シリーズ出版を 通して得られたこと
comi190327
3
570
建設的な現実逃避のしかた / How to practice constructive escapism
pauli
4
240
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
790
Marketing to machines
jonoalderson
1
5.1k
Odyssey Design
rkendrick25
PRO
2
560
Color Theory Basics | Prateek | Gurzu
gurzu
0
280
Code Review Best Practice
trishagee
74
20k
Google's AI Overviews - The New Search
badams
0
960
Crafting Experiences
bethany
1
110
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
750
Balancing Empowerment & Direction
lara
5
1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
990
Transcript
你這段 Ruby Code 超速摟, 已經沒有人看得懂了!
WEB DEVELOPER GAME DEVELOPER ࣌ ݭ @elct9620
None
https://oktop.tumblr.com/
DSL @topic[0]
None
針對 特定情境 所設計的語言
Meta Programming @topic[1]
None
對語言的 拓展 進而改善開發效率
None
DSL 是實現 Meta Programming 的 手段 之一
Make a DSL by yourself @topic[2]
None
None
None
None
None
Create your meta programming @topic[3]
None
None
None
None
None
The "eval" way @topic[4]
比較 特殊 的用法,但可能意外常見
None
None
None
Unlight - Code Generator @topic[5]
None
None
None
None
為什麼要 動態 產生方法?
Length (2 Byte) Command (2 Byte) Body "\n" (1 Byte)
Number (4 Byte) Char (1 Byte) String Boolean (1 Byte)
Length
None
None
None
這樣做有什麼 好處 ?
None
Unlight - Meta Programming @topic[6]
None
None
None
None
None
這樣做有什麼 好處 ?
None
Q&A
Thanks