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
130
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
蒼時弦や
August 02, 2020
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
120
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
93
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
360
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
570
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
290
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
400
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
430
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
220
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
240
Other Decks in Technology
See All in Technology
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
140
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
230
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
180
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
110
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Featured
See All Featured
Building Adaptive Systems
keathley
38
2.3k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Docker and Python
trallard
40
3.1k
RailsConf 2023
tenderlove
29
900
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Designing the Hi-DPI Web
ddemaree
280
34k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
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