REPL Driven Development, Clojure's Superpower - Sean Corfield

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 12

  • @diegonayalazo
    @diegonayalazo 2 роки тому +5

    Thanks Sean for being such a pillar of the community. Love your work!

  • @mertnuhoglu
    @mertnuhoglu 3 роки тому +5

    There are so many invaluable tips here. Thank you very much to all the contributors.

  • @JurajMartinka
    @JurajMartinka 4 роки тому +5

    For "discovering namespaces of (unloaded) dependencies". As they mentioned, I extract that information from the JAR files. With Emacs/Cider it's quite convenient: `cider-open-classpath-entry` -> quickly filter the dependency and open it -> you will see the content of the JAR file including the clojure files which you can simply open; typically there's also a README file that you can examine. It works really well for things like compojure. It can be used for java dependencies as well but all you get is a list of class files (you could disassemble those but that's rarely useful).

  • @valwaeselynck4529
    @valwaeselynck4529 4 роки тому +15

    About the formatting-friendly (comment... ) block (ua-cam.com/video/gIoadGfm5T8/v-deo.html ): another tip is to end it with *e, the symbol which names the last thrown Exception. I personally do it this way, because for some reason inspecting the last thrown Exception is something I need to do quite frequently ;)

  • @davidasher8100
    @davidasher8100 2 роки тому +2

    Is there a short expression for that `doto tap>` trick at @39:05 in a thread-last macro? I don't want to write ` ((fn [x] (tap> x) x))`all the time.

  • @3a146
    @3a146 6 місяців тому

    54:17 about the name of this "interactive comment" pattern. I realized that the theoretical foundation of this thing might be "The Explicit-Control Evaluator" from SICP 2e Sec 5.4, because exactly what you do is to manually control the evaluator to interprete your source codes beyond the normal opearations of Clojure automatic tool chain. Oh my JVM, the lisp machines are back. Hence, the title may also be dubbed "Turning JVM(or node) into a Modern Lisp Machine".

    • @3a146
      @3a146 6 місяців тому

      Rickey also mentioned once the reason why JVM support is better than CLR is because of the meta programming support of JVM.

    • @3a146
      @3a146 6 місяців тому

      Also in Sec5.4.1, one can read "The central element in the evaluator is the sequence of instructions beginning at eval-dispatch. " And I can see VSCode is the GUI for this eval-dispatch, while emacs could be the TUI.

  • @UberRuthlessOld
    @UberRuthlessOld 3 роки тому +3

    Can you share your local aliases and .clojure stuff. To learn more about clojure cli configuration you are using?

  • @akemegbebu7807
    @akemegbebu7807 4 місяці тому

    Oh my God..... I'm switching to clojure

  • @jasper2virtual
    @jasper2virtual 2 роки тому +3

    Can you remaster the audio,it is horrible to listen.