4:21 if you are using vs code. The extension shown in the video os deprecated. Use this one instead 'Calva: Clojure & ClojureScript Interactive Programming'
I messed about with Clojure for kicks (not a programmer) a few years back (solved about 50 problems on projecteuler with the language) and I'm just resuming it. But I've never seen a video's thumbnail which encapsulates what the language is all about so succinctly to folk who know nothing about the language, or even coding.
Yeah :) Const just declares that the bariable cannot be bound to a different piece of data than what it was bound to originally. It doesnt mean that the data it is bound to cannot be mutated.
Nice primer on Clojure, it seems like a nicely designed language. I like the video style of going back and forth between the foreign concept and familiar, and having a discussion between the similarities and differences; Its not a straight up tutorial and feels quite engaging and casual
Calva is the de facto standard for Clojure development in VS Code - it had me getting started in Clojure in no time, so thanks a lot for your work! And no matter if I'm in OSX, Linux or Win10, I can use the same setup. I only need a little tweaking of the keyboard shortcuts, as I'm also using the Vim extension (Shift-Esc to remove the inline results).
Nice video, I was able to grasp most of things, As I'm beginner to clojure journey. I'm really looking for dev environment which sir has setup in his machine, I'm using windows OS, I'm getting error in running the setup. Can someone help please?
How do I compile a single clojure file ? Like if I don't use lein , and have a single .clj file with main function ,how do I compile it into an class file , like in java or like an executable ?
You can run it using clojure. If you use deps.edn (im going to cover it soon maybe release a video on it on monday even) but all you do is have a deps.edn file in the root of your project Which contains {:paths ["src/clj"]} then in root of the project create src/clj/core.clj with these contents: (ns core) (defn -main [& args] (println "hey")) then you can run it from the command line using clojure -M -m core
Good video for someone beginning to understand functional language. Comparison with JS helps see the simplicity and elegance of functional language. Just being a devil's advocate.........functions that end with "?" by convention should return only "true" or "false" values.
4:21 if you are using vs code. The extension shown in the video os deprecated. Use this one instead 'Calva: Clojure & ClojureScript Interactive Programming'
I messed about with Clojure for kicks (not a programmer) a few years back (solved about 50 problems on projecteuler with the language) and I'm just resuming it.
But I've never seen a video's thumbnail which encapsulates what the language is all about so succinctly to folk who know nothing about the language, or even coding.
Please make more such videos
I will be making a lot more content in 2021 :) Thank you for watching!
@@onthecodeagain happy to hear this from you
Eagerly looking to learn clojure
Yes, it was very informative.
In JavaScript even with const it's possible to mutate a, const is just about the binding of the a variable it doesn't give deep immutability for a
Yeah :) Const just declares that the bariable cannot be bound to a different piece of data than what it was bound to originally. It doesnt mean that the data it is bound to cannot be mutated.
Nice primer on Clojure, it seems like a nicely designed language.
I like the video style of going back and forth between the foreign concept and familiar, and having a discussion between the similarities and differences;
Its not a straight up tutorial and feels quite engaging and casual
Thanks Ethan!
As the creator of Calva I’m a bit disappointed you are demoing how to install that other extension. 😀
hahaha I'll bring this up with Allan!
Calva is the de facto standard for Clojure development in VS Code - it had me getting started in Clojure in no time, so thanks a lot for your work! And no matter if I'm in OSX, Linux or Win10, I can use the same setup. I only need a little tweaking of the keyboard shortcuts, as I'm also using the Vim extension (Shift-Esc to remove the inline results).
I'd use it if it were an IntelliJ plugin lol.
Nice video! Definitely helps demystify closure
Nice video, I was able to grasp most of things, As I'm beginner to clojure journey.
I'm really looking for dev environment which sir has setup in his machine, I'm using windows OS, I'm getting error in running the setup.
Can someone help please?
Nice emacs setup, he uses telephone line by the way, maybe he uses Spacemacs
How do I compile a single clojure file ? Like if I don't use lein , and have a single .clj file with main function ,how do I compile it into an class file , like in java or like an executable ?
You can run it using clojure. If you use deps.edn (im going to cover it soon maybe release a video on it on monday even) but all you do is have a deps.edn file in the root of your project
Which contains {:paths ["src/clj"]}
then in root of the project create src/clj/core.clj
with these contents:
(ns core)
(defn -main [& args]
(println "hey"))
then you can run it from the command line using
clojure -M -m core
Very good video. And it's nice to see how the code would be in JS.
I would like to see more videos like that and more code on Emacs.
Who is the other person in the video using Clojure? I'd love to watch his content or take any courses he has.
He is an old colleague of mine. I try to get him in as many vids as possible!
What are your thoughts on using static-typing langs like OCaml?
Ive never used ocaml before but im learning elm and i have to say I dont mind it... personally though I prefer dynamic typing. What are your thoughts?
This was really helpful, thank you and subbed
Thanks for the sub!
@Peter Strömberg if you are reading this...calva is awesome...
Good video for someone beginning to understand functional language. Comparison with JS helps see the simplicity and elegance of functional language. Just being a devil's advocate.........functions that end with "?" by convention should return only "true" or "false" values.
Playback speed was made for this.
Keep up the nice work!
Great, thanks!
nice
Thanks dude!!
Clojure code is just weird, not human friendly at all, why all functional language has to be weird ??!!
No wonder it's not popular.
It gets easier to read the more you work with it. Its actually easier to read than most languages because everything is structured the same way :)
Lisp (list processing) once we understand the idea reading lisp like languages like clojure would be easy.
its got a homogeneous design and is logically intuitive. we're just kinda used to doing things the other way