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
170
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
170
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
420
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
640
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
380
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
450
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
470
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
260
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
280
Other Decks in Technology
See All in Technology
JavaScript 研修
recruitengineers
PRO
6
1.4k
Language Update: Java
skrb
2
220
Automating Web Accessibility Testing with AI Agents
maminami373
0
410
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
4
2k
『FailNet~やらかし共有SNS~』エレベーターピッチ
yokomachi
1
200
実運用で考える PGO
kworkdev
PRO
0
130
DDD集約とサービスコンテキスト境界との関係性
pandayumi
2
230
絶対に失敗できないキャンペーンページの高速かつ安全な開発、WINTICKET × microCMS の開発事例
microcms
0
360
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
140
異業種出身エンジニアが気づいた、転向して十数年経っても変わらない自分の武器とは
macnekoayu
0
260
「魔法少女まどか☆マギカ Magia Exedra」での負荷試験の実践と学び
gree_tech
PRO
0
450
新規案件の立ち上げ専門チームから見たAI駆動開発の始め方
shuyakinjo
0
650
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
51
5.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Optimizing for Happiness
mojombo
379
70k
Embracing the Ebb and Flow
colly
87
4.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
Music & Morning Musume
bryan
46
6.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
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