An introduction to Clojure!

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии •

  • @thomasmbayo
    @thomasmbayo Год назад +2

    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'

  • @tunesoop7653
    @tunesoop7653 Год назад +2

    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.

  • @hayathbasha4519
    @hayathbasha4519 4 года назад +8

    Please make more such videos

    • @onthecodeagain
      @onthecodeagain  4 года назад +5

      I will be making a lot more content in 2021 :) Thank you for watching!

    • @hayathbasha4519
      @hayathbasha4519 4 года назад

      @@onthecodeagain happy to hear this from you
      Eagerly looking to learn clojure

    • @TheddunTOSS
      @TheddunTOSS 3 года назад +1

      Yes, it was very informative.

  • @sfyire
    @sfyire 3 года назад +5

    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

    • @onthecodeagain
      @onthecodeagain  3 года назад +1

      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.

  • @EthanLR
    @EthanLR 2 года назад +3

    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

  • @pappapez
    @pappapez 4 года назад +11

    As the creator of Calva I’m a bit disappointed you are demoing how to install that other extension. 😀

    • @onthecodeagain
      @onthecodeagain  4 года назад +3

      hahaha I'll bring this up with Allan!

    • @achimwasp
      @achimwasp 3 года назад +3

      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).

    • @donwald3436
      @donwald3436 7 месяцев назад

      I'd use it if it were an IntelliJ plugin lol.

  • @ajaberdein4304
    @ajaberdein4304 4 года назад +5

    Nice video! Definitely helps demystify closure

  • @DeepakKumar-mn7sp
    @DeepakKumar-mn7sp Год назад +1

    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?

  • @fikrirahmatnurhidayat4988
    @fikrirahmatnurhidayat4988 2 года назад +1

    Nice emacs setup, he uses telephone line by the way, maybe he uses Spacemacs

  • @sagnikc4
    @sagnikc4 3 года назад +2

    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 ?

    • @onthecodeagain
      @onthecodeagain  3 года назад +1

      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

  • @toddycafe2674
    @toddycafe2674 4 года назад +1

    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.

  • @bobsimpson9228
    @bobsimpson9228 2 года назад +1

    Who is the other person in the video using Clojure? I'd love to watch his content or take any courses he has.

    • @onthecodeagain
      @onthecodeagain  2 года назад

      He is an old colleague of mine. I try to get him in as many vids as possible!

  • @tofuman9526
    @tofuman9526 3 года назад +1

    What are your thoughts on using static-typing langs like OCaml?

    • @onthecodeagain
      @onthecodeagain  3 года назад

      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?

  • @calanm7880
    @calanm7880 Год назад +1

    This was really helpful, thank you and subbed

  • @codekomali1760
    @codekomali1760 3 года назад +1

    @Peter Strömberg if you are reading this...calva is awesome...

  • @rajeevjha5011
    @rajeevjha5011 Год назад +1

    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.

  • @theoneed2051
    @theoneed2051 2 месяца назад

    Playback speed was made for this.

  • @TheddunTOSS
    @TheddunTOSS 3 года назад +1

    Keep up the nice work!

  • @szymonchudy
    @szymonchudy 2 года назад +1

    Great, thanks!

  • @yadirosadi8370
    @yadirosadi8370 3 года назад +1

    nice

  • @511cvxzlugynskii3
    @511cvxzlugynskii3 3 года назад +2

    Clojure code is just weird, not human friendly at all, why all functional language has to be weird ??!!
    No wonder it's not popular.

    • @onthecodeagain
      @onthecodeagain  3 года назад +5

      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 :)

    • @MohamedCherifBOUCHELAGHEMdz23
      @MohamedCherifBOUCHELAGHEMdz23 3 года назад +1

      Lisp (list processing) once we understand the idea reading lisp like languages like clojure would be easy.

    • @EthanLR
      @EthanLR 2 года назад +1

      its got a homogeneous design and is logically intuitive. we're just kinda used to doing things the other way