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
110
2020 - COSCUP - 你這段 Ruby Code 超速摟,已經沒有人看得懂了!
蒼時弦や
August 02, 2020
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
45
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
280
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
490
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
240
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
360
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
400
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
200
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
220
2021 - RubyKaigi - It is time to build your mruby VM on the microcontroller?
elct9620
0
160
Other Decks in Technology
See All in Technology
AWS を使う上で知っておきたいオンプレミス知識/aws-on-premise-essentials
emiki
1
4.1k
【SORACOM UG】(2024年度版) SIMってなんだ? ~セルラー通信がつながる仕組み、解説します~
soracom
PRO
0
130
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
950
次世代Web認証「パスキー」 / mo-zatsudan-passkey
nkzn
22
13k
0→1開発における技術選定において一番大切なこと
bicstone
1
310
「ふりかえりのふりかえり」をふりかえり、実のあるふりかえりにする
naitosatoshi
0
200
LLM とプロンプトエンジニアリング/チューターをビルドする / LLM and Prompt Engineering and Building Tutors
ks91
PRO
0
200
WebアプリケーションにおけるPDOの使い方入門 / phpcon odawara 2024
meihei3
2
420
ユーザーストーリーのレビューを自動化したみたの
bun913
1
240
「共通基盤」を超えよ! 今、Platform Engineeringに取り組むべき理由
jacopen
24
5.6k
【SORACOM UG】SIM Deep Dive セキュアエレメント編
soracom
PRO
0
160
自動生成を活用した、運用保守コストを抑える Error/Alert/Runbook の一元集約管理 / Centralized management of Error/Alert/Runbook to minimize operational costs using automated code generation
biwashi
9
1.9k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Web Components: a chance to create the future
zenorocha
304
41k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
How to Ace a Technical Interview
jacobian
272
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
12
1.5k
Designing the Hi-DPI Web
ddemaree
275
33k
The Cult of Friendly URLs
andyhume
73
5.6k
Code Review Best Practice
trishagee
54
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
645
57k
It's Worth the Effort
3n
180
27k
Music & Morning Musume
bryan
40
5.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