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
本の紹介: Clojure Programming
Search
Takahiro Noda
April 22, 2012
Programming
4
570
本の紹介: Clojure Programming
Kyoto.clj #1 発表資料。2012年4月22日。オライリーの新刊(発表当時)Clojure 本「Clojure Programming」がよい教科書であることを述べる。
Takahiro Noda
April 22, 2012
Tweet
Share
More Decks by Takahiro Noda
See All by Takahiro Noda
Open Source Data Analysis Toolbox
tnoda
0
77
Clojure for Non-Clojurians
tnoda
0
220
Yet another introduction to core.async
tnoda
2
280
Other Decks in Programming
See All in Programming
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
270
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
4
940
Team operations that are not burdened by SRE
kazatohiei
1
210
XP, Testing and ninja testing
m_seki
3
190
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
130
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
100
Create a website using Spatial Web
akkeylab
0
300
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
850
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
260
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
330
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
800
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
A designer walks into a library…
pauljervisheath
207
24k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
940
Embracing the Ebb and Flow
colly
86
4.7k
Adopting Sorbet at Scale
ufuk
77
9.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Transcript
ຊͷհ: Clojure Programming @tnoda_ 2012-04-22 #kyotoclj #1 1 Sunday, April
22, 2012
Clojure Programming • Chas Emetic • Brian Carper • Christophe
Grand • Oreilly & Associates Inc •2012/4/19 •ˇ3,456 ʢAmazon.co.jp ใʣ 2 Sunday, April 22, 2012
• Α͍ڭՊॻͱ? • “Clojure Programming” Α͍ڭՊॻͳͷ͔? 3 Sunday, April 22,
2012
• ͕ࣝߏԽ͞Εɺؙ҉هͰͳ͘ཧղʹͭ ͳ͕ΔΑ͏ͳͷ • ߏԽͱ? • ͕ࣝଓ͞Ε͍ͯΔ͜ͱ • ֊Խ •
ରൺత • ๏ଇతࣝ 4 Sunday, April 22, 2012
ࠓͷࣗ ࠓͷࣗ ԕ֮͗ͯ͑͢ΒΕͳ͍ ࣝΛͭͳ͙ͱཧղʹͳΔ 5 Sunday, April 22, 2012
ྫ: ΠϯσΟΞϯͱॅډ ւ؛ ΧϦϑΥϧχΞ ฏݪ ׯ͠ϨϯΨͷՈ ςϯτ ਿͷ൘ࡐͰͰ͖ͨ ࣼΊࠜͷՈ 6
Sunday, April 22, 2012
: ΠϯσΟΞϯͱॅډ ւ؛ ΧϦϑΥϧχΞ ฏݪ ׯ͠ϨϯΨͷՈ ςϯτ ਿͷ൘ࡐͰͰ͖ͨ ࣼΊࠜͷՈ 7
Sunday, April 22, 2012
ΧϦϑΥϧχΞͱׯϨϯΨΛଓ ΧϦϑΥϧχΞ ׯ͠ϨϯΨͷՈ ॅډखۙͳࡐྉͰ࡞ΒΕΔ ॅډؾީʹࠨӈ͞ΕΔ Ӎগͳ͍ ҭͨͳ͍ 8 Sunday, April
22, 2012
: ΠϯσΟΞϯͱॅډ ւ؛ ΧϦϑΥϧχΞ ฏݪ ׯ͠ϨϯΨͷՈ ςϯτ ਿͷ൘ࡐͰͰ͖ͨ ࣼΊࠜͷՈ ॅډखۙͳࡐྉͰ࡞ΒΕΔ
ॅډؾީʹࠨӈ͞ΕΔ 9 Sunday, April 22, 2012
ࢀߟจݙ • ྛࠀ • ؒҧ͍ͩΒ͚ͷֶश • ৽༵ࣾ • 1994 10
Sunday, April 22, 2012
Α͍ڭՊॻ·ͱΊ • ͕ࣝฒͯ͋Δ͚ͩͰͩΊ • ଓͯ͠ɺཧղʹͯ͋͛͠ͳ͍ͱ͍͚ͳ͍ 11 Sunday, April 22, 2012
“Clojure Programming” Α͍ڭՊॻ͔? 12 Sunday, April 22, 2012
ྫ: defn (defn name doc-string? attr-map? [params*] body) ؔΛఆٛ͢Δʹ defn
Λ͍·͢: 13 Sunday, April 22, 2012
֊Խ defn def fn do let Lexical Scoping Destructuring Sequential
Destructuring Map Destructuring Symbol Namespace 14 Sunday, April 22, 2012
ରൺత map defrecord comp ->> transient persistent sequence iterator 15
Sunday, April 22, 2012
๏ଇతࣝ • Howto, Tips ͕ॆ࣮ → ͳͥ? • Map ͱ
defrecord ͲͪΒΛ͏͖͔ • Vector ͲΜͳͱ͖ʹ͏͔ • Lazy seq Λ࡞Δͱ͖ʹ Pure Function Ͱͳ ͚ΕͳΒͳ͍ͷͳ͔ͥ? 16 Sunday, April 22, 2012
ޮతʹֶशͰ͖Δ • ͕ࣝଓ͞Ε͍ͯΔ • ֊Խɾରൺత • ๏ଇతࣝ ؙ҉ه͔Βཧղ 17 Sunday,
April 22, 2012
લఏͱ͢Δࣝ Java ˕ʢඞਢʣ Ruby or Python ˚ʢબʣ Lisp ºʢෆཁʣ Functional
Programming ºʢෆཁʣ 18 Sunday, April 22, 2012
ࢀߟ Java ˕ Ruby or Python º Lisp ˓ Functional
Programming ˓ 19 Sunday, April 22, 2012
·ͱΊ • Α͍ڭՊॻ? • ͕ࣝଓɾߏԽ͞ΕɺཧղΛॿ͚Δ • લఏ͕ࣝࣗʹ߹͍ͬͯΔ • “Clojure Programming”
• Α͘ߟ͑ΒΕͨɺΑ͍ڭՊॻ • Lisp, Functional Programming ͷܦݧ͕ͳ ͍ Ruby ϓϩάϥϚͰಡΊΔ • Functional Programming ͷೖʹͳΔ 20 Sunday, April 22, 2012
͓ΘΓʹ • Clojure ίʔυΛॻ͘લʹษڧ͢Δ͜ͱ͕ ଟ͍Ͱ͢ɻ • ʢRuby ͔ΒདྷͨϓϩάϥϚʹͱͬͯʣ • “Clojure
Programming” ɺClojure ͷࣝΛ ಄ʹ٧ΊࠐΉͷʹ࠷దͳڭՊॻͰ͢ɻ 21 Sunday, April 22, 2012