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
蒼時弦や
August 02, 2020
Technology
0
140
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
蒼時弦や
August 02, 2020
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
150
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
150
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
410
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
620
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
360
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
430
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
460
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
240
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
270
Other Decks in Technology
See All in Technology
libsyncrpcってなに?
uhyo
0
150
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.2k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
8
65k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
740
継続戦闘能⼒
sansantech
PRO
0
220
Roo Codeにすべてを委ねるためのルール運用
pharma_x_tech
1
230
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
他チームへ越境したら、生データ提供ソリューションのクエリ費用95%削減へ繋がった話 / Cross-Team Impact: 95% Off Raw Data Query Costs
yamamotoyuta
0
240
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
SmartHRの複数のチームにおけるMCPサーバーの活用事例と課題
yukisnow1823
2
1.2k
ローカル環境でAIを動かそう!
falken
PRO
1
170
ソフトウェアテストのAI活用_ver1.10
fumisuke
0
240
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
25
2.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
We Have a Design System, Now What?
morganepeng
52
7.6k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Agile that works and the tools we love
rasmusluckow
329
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Fireside Chat
paigeccino
37
3.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Balancing Empowerment & Direction
lara
1
87
Typedesign – Prime Four
hannesfritz
41
2.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
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