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
RailsConf 2015: What if Shakespeare Wrote Ruby?
Search
Adam Cuppy (he/him)
April 22, 2015
Programming
0
200
RailsConf 2015: What if Shakespeare Wrote Ruby?
RailsConf 2015 Presentation
Adam Cuppy (he/him)
April 22, 2015
Tweet
Share
More Decks by Adam Cuppy (he/him)
See All by Adam Cuppy (he/him)
Mentorship in Three Acts
acuppy
0
80
Mechanically Confident
acuppy
1
130
Pluck It - Southeast Ruby 2017
acuppy
1
120
Trust Me - Rocky Mountain Ruby 2017
acuppy
0
76
Brighton Ruby 2017 - Difficult Conversations
acuppy
1
57
GoRuCo 2017 - Difficult Conversations
acuppy
0
96
GORUCO - Cult(ure)
acuppy
0
70
#RailsPacific - Taming Chaotic Specs - RSpec Design Patterns
acuppy
5
980
#RailsPacific - [NOTES] Taming Chaotic Specs - RSpec Design Patterns
acuppy
1
180
Other Decks in Programming
See All in Programming
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
Goのエラースタックトレースの歴史と今後
sonatard
7
1k
CQRS/ES avec Symfony, c’est (trop) bien !
jeremyfreeagent
1
640
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
Code Reviews
bkuhlmann
4
890
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
250
Elm Form Validation
bkuhlmann
0
510
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
650
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
Site Reliability Engineering for GMO
pyama86
7
1k
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
Elm 0.19.0 Changes
bkuhlmann
0
490
Featured
See All Featured
BBQ
matthewcrist
80
8.8k
Writing Fast Ruby
sferik
621
60k
How to train your dragon (web standard)
notwaldorf
73
5.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
120
39k
Embracing the Ebb and Flow
colly
80
4.1k
YesSQL, Process and Tooling at Scale
rocio
164
13k
For a Future-Friendly Web
brad_frost
172
9k
The Brand Is Dead. Long Live the Brand.
mthomps
49
28k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Building Your Own Lightsaber
phodgson
99
5.7k
Transcript
What if Shakespeare Wrote ?
ACTION ROUND
None
Adam Cuppy
None
codingzeal.com
None
None
None
None
None
None
github.com/acuppy twitter.com/adamcuppy
amplify greatness
Software Writers - DHH (Creator of Ruby on Rails)
None
“i” before “e” (except after “c”)
Language is powerful
None
Software Writers - DHH (Creator of Ruby on Rails)
None
None
None
None
None
Poet
None
None
(8) 100 thousands!
1,700 New Word Forms
Shakespeare.inspect
Domain-specific Language
DSL?! NOOOO!!!
Domain-specific Language
Expressive Conventions
None
None
* Meaningful * Demonstrative * Suggestive * revealing
None
None
None
None
None
Iambic Pentameter (metered verse)
baBOOM / baBOOM / baBOOM / baBOOM / baBOOM.
When I / do COUNT / the CLOCK / that
TELLS / the TIME
To BE or NOT to BE, THAT is the QUEStion:
class Character < ActiveRecord::Base belongs_to :play has_many :lines end
class Character < ActiveRecord::Base belongs_to :play has_many :lines end Look
Mom, a convention!
app/ assets/ controllers/ helpers/ models/ views/ mailers/ bin/ config/ lib/
assets/ tasks/ ... app specific non-specific
… and another User.where( happiness: 8..10 )
… and another User.create User.create! user.save user.save!
STAND UP
sampson.when(:bite_thumb) do abraham.ask "Do you bite your thumb at us,
sir?" end sampson.bite_thumb # => Abraham asks, “Do you..."
abraham = Abraham.new sampson = Sampson.new abraham.observe sampson sampson.observe abraham
abraham .when(sampson) { bit_thumb? } .then(abraham) { ask "Do you bite your thumb at us, sir?" } sampson.bite_thumb # => Abraham asks, “Do you..."
Harmonious Simplicity
STAND UP
Create Spectacle
“ Often people focus on the machines. They think, "By
doing this, the machine will run more effectively.” But in fact we need to focus on humans, on how humans care about doing programming… We are the masters. They are the slaves.” - Matz (Creator of Ruby)
None
None
github.com/acuppy twitter.com/adamcuppy
None
None