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
560
本の紹介: 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
68
Clojure for Non-Clojurians
tnoda
0
210
Yet another introduction to core.async
tnoda
2
270
Other Decks in Programming
See All in Programming
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
180
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
790
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
270
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
900
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
160
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
280
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
200
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
270
良いユニットテストを書こう
mototakatsu
11
3.5k
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
130
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
630
103 Early Hints
sugi_0000
1
330
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Navigating Team Friction
lara
183
15k
Typedesign – Prime Four
hannesfritz
40
2.5k
How GitHub (no longer) Works
holman
312
140k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
For a Future-Friendly Web
brad_frost
176
9.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Speed Design
sergeychernyshev
25
720
Into the Great Unknown - MozCon
thekraken
34
1.6k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Practical Orchestrator
shlominoach
186
10k
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