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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
蒼時弦や
August 02, 2020
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
210
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
240
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
480
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
690
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
460
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
510
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
540
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
290
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
330
Other Decks in Technology
See All in Technology
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
0
310
Databricks における 生成AIガバナンスの実践
taka_aki
1
340
AgentGatewayを試してみたかった
tkikuchi
0
120
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
Dynamic Workersについて
yusukebe
2
620
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
1
360
タクシーアプリ『GO』の実践的データ活用
mot_techtalk
3
170
AI と創る新たな世界 / A New World Created with AI
ks91
PRO
0
120
作って終わりにしない タイミーのセマンティックレイヤー育成の現在地
chanyou0311
0
220
Claude code Orchestra
ozakiomumkj
3
1k
Rubyで音を視る
ydah
1
100
Dario Amodi『Policy on the AI Exponential』を理解する
nagatsu
0
200
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Scaling GitHub
holman
464
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Visualization
eitanlees
152
17k
Navigating Weather and Climate Data
rabernat
0
210
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
430
GraphQLとの向き合い方2022年版
quramy
50
15k
Docker and Python
trallard
47
3.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.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