Skip to content
0:00 / 0:00

#clojure#repl#immutability

Clojure in a nutshell by James Trunk

Func Prog Sweden

56K subscribers • 31 videos on Hallway

YouTube
  • Recommended by 6 people: 3 on Hacker News and 3 in engineering communities.
  • Presented by James Trunk, VP of Engineering at Griffin

Beginner. No background in the topic needed.

103K views5 years ago6 recommendations

Programming languagesLisp and ClojureFunctional programming

James Trunk introduces the basics of Clojure syntax, functional thinking, core data structures, and REPL-driven development.

Learn the basics of Clojure syntax and functional thinking. James Trunk introduces Clojure as a language that separates data from functionality, prioritizing data as a first-class citizen. He discusses the core data structures in Clojure and the advantages of immutability. James also explains how Clojure differs from other languages by making data structures a core part of the language. He demonstrates the "threadlast" macro for a more natural reading of code and highlights Clojure's dynamic and data-driven nature. James showcases examples of data analysis and manipulation using Clojure's functions and introduces the concept of a REPL for real-time code manipulation. He concludes by creating a custom function in Clojure and emphasizing the simplicity and conciseness of Clojure code. James Trunk Led the Polylith team, invented the metaphors, authored the presentation. linkedin.com/in/james-trunk If you want to get featured on the channel and have something to present, please head over to MeetUp and contact the organizers: meetup.com/Func-Prog-Sweden Video sponsor – Ada Beat adabeat.com/ If you want to spread functional programming and support the channel, buy something from the shop: funcprogsweden.myspreadshop.net/ #funcprogsweden

Why it's here

6 people recommend this

What people say. Recommended as an exceptionally clear and enjoyable technical introduction to Clojure.

Moments people linked to

u/slifinin r/Clojure • Recommends

Clojure in a nutshell by James Trunk
61View on Reddit

u/misophistin r/Clojure • Recommends

James Trunk - Clojure in a Nutshell @ Func Prog Sweden

u/Ashiroin r/Clojure • Recommends

What IDE/Editor is this guy using on Clojure and how do I get it (intelli-sense, data-lookup, etc)?
11View on Reddit

Lyngbakron Hacker News • Recommends

On “Griffin - A fully-regulated, API-driven bank, with Clojure”

James Trunk, who is now Griffin's VP of Engineering, gave one of the most clear and enjoyable technical introductions to Clojure I've seen. Recommended! link to this video

mustermannBBon Hacker News • Recommends

On “How much can a Clojure developer do alone?”

I like this video. IMHO it is a good example of REPL driven development. Nothing to do with typing things into the REPL. link to this video

kaliszadon Hacker News • Recommends

On “What I wish I knew when learning F#”

…g quickly. That is also useful for scripting some things. You might also try shadow-cljs + ClojureScript, if you are more at home in the Node.js/ Browser JavaScript ecosystem and want to do something with it. There is a new "(Not)Babashka" but built on ClojureScript: link that might be interesting as well. I have found this video by James Trunk: link to this video to have a very nice live coding example.…

u/-w1n5t0nin r/ProgrammingLanguages • Mentions

On “Would a functional language like Haskell be worse off in developing a compiler as opposed to a systems language like Rust, C, etc?”

Carp is indeed fascinating and looks so clean and straight-to-the-point to me, in a similar way to Clojure but in a more low-level fashion. Choosing which Lisp to use can be kinda tricky, as they all differ in slight but important ways which may not be immediately obvious. Do you care about execution speed and being "close to the metal" as you said? If so then Common Lisp is perhaps your best bet, as it has some really mature and optimised compilers. You could also look at some of the Lisps that compile to C or other such languages (e.g. Carp, Ferret). Do you have a preference between the Object-Oriented Programming and Functional Programming paradigms? For the first, Common Lisp, for the…