Clojure for Java Programmers Part 1 - Rich Hickey
Channel:ClojureTV · Length:1:48:12 · Published:2012-12-17 · Views:130877
Summary
Rich Hickey introduces Clojure to the NYC Java Study Group in the first of a two-part talk. It covers reader syntax, core data structures, code-as-data, evaluation, special operators, functions, macros and sequences, assuming no Lisp background.
Why HN recommends it
Recommended as a clear, well-paced introduction to Clojure and Lisp ideas like code as data and macros, straight from the language's creator.
It's just a great talk. — HN, 2013
Functional programming · Python, Ruby & scripting languages
Subtitles (excerpt)
hi I'm Riki I'm here to talk about closure which is a programming language I wrote for the jbm um this particular talk is oriented towards people who program in Java or C or C++ in particular that I'm not going to presume any knowledge of lisp so you might find some of it uh tedious although I am preparing for a talk I'm going to give e coup to the European lisp Workshop where I'm going to talk about you know the ways closure is a different lisp so maybe some of this will be interesting to you in that respect uh but that's the that's the nature of this talk it's going to be an introduction to the language a fly by tour of some of the features I'll drill down it to some of the others um I started to ask this question before but I'll just ask it again to sort of see uh is there anyone here who knows or uses any flavor of list common list scheme or closure okay so mostly no uh I presume a lot of Java or anything in that family C++ C uh Scala anyone you must be playing with it right uh how about functional programming languages like ml or hasal the strict guys anyone a little don't really want to raise their hands about that one uh okay that's good um in particular I think uh coming from that back backround you'll understand a lot of this straight away uh how
On Hacker News
Indeed. Rich Hickey's 2-part presentation on "Clojure for Java Programmers" was a really slick presentation of a Lisp. (Focusing on the 'code is data' aspect from the beginning (at least once he starts talking about the language specifics themselves, he does spend a while motivating dynamic languages) rather than talking a lot about just higher order functions and macros and so on. He goes over t… — Jach, 2013-07
> So that's how I view Lisp macros - creating code on the fly and executing it. This is an incorrect assumption. In compiled Lisps[0], macros are a compile-time construct, which manipulate the data structures that represent your code[1]. All manipulation occurs at compile-time. In interpreted Lisps, macro evaluation is temporally intertwined with program execution, but the two phases are logicall… — greggyb, 2022-01
From a Clojure perspective, here are a few things to think about and explore to help understand where the power and value of macros lie. 1. Clojure does not have all of its various conditionals as language built-ins. There is a single conditional construct built in to the language, if. The rest are all defined in terms of if. Function arguments are eagerly evaluated in Clojure. How do you write a… — greggyb, 2022-01
> I'm explaining why Lisp is hard to learn. It is not hard to learn in general, there are too many counterexamples of people of all sorts and skills learning it without these issues you are having, learning it as their first, learning it later in their careers... (CL is big , I'll give you that, but each piece can be chewed one at a time and does not seem to be individually that difficult.) So I … — Jach, 2020-12
Lisp has only one rule called the Operational Form: (operator arg1 arg2 arg3 ...) The Operational Form is just a list denoted by parentheses. The operation or 'function' comes first, followed by its arguments or operands, e.g. (+ 1 2 3) => 6 The + symbol resolves to the plus function and is passed in the arguments 1, 2 and 3. Nested forms are evaluated inside-out: (+ 5 (- 10 6)) => 9 Traditionall… — pgt, 2020-10
Related videos
- Invited Talk - Guy Steele · ClojureTV · 1:07:22
- Failing to Fail: The Spiderweb Software Way · GDC Festival of Gaming · 59:47
- Richard Feynman talks about light · sdfhsfh · 5:55
- Sketchpad, by Dr. Ivan Sutherland with comments by Alan Kay · David Carroll · 3:47
- The Witness - A Great Game That You Shouldn't Play · Joseph Anderson · 41:02
- The Mind-Blowing Machines that Stamp Millions of Metal Parts - Smarter Every Day 288 · SmarterEveryDay · 59:12
- Bryan Cantrill on ARC: A Self-Tuning, Low Overhead Replacement Cache [PWL SF] 10/2017 · PapersWeLove · 1:47:35
- Transforming Code into Beautiful, Idiomatic Python · Next Day Video · 48:51
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06