ClojureScript: Lisp's Revenge • David Nolen • GOTO 2013

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 เม.ย. 2014
  • This presentation was recorded at GOTO Aarhus 2013. #gotocon #gotoaar
    gotocon.com
    David Nolen - NYTimes Software Engineer
    ABSTRACT
    More than 55 years ago John McCarthy had an insanely great idea called Lisp. Lisp marked the beginning of functional programming, interpreters, high-level metaprogramming, garbage collection, and much more. Yet after such auspicious beginnings the idea of Lisp has since faded and many of its innovations have been adopted by much more popular programming languages. Until recently Lisp even appeared doomed to fade into obscurity but several things have conspired to make Lisp somewhat cool again - one of these is Clojure, a fun modern Lisp targeting the Java Virtual Machine.
    However the Web doesn't speak JVM bytecodes. It speaks JavaScript - thus the cornucopia of languages that now compile to JavaScript. The most well known include GWT, CoffeeScript, and more recently Dart and TypeScript. However none of these represent a real break from the status quo.
    John McCarthy's insanely great idea still has a lot to offer the Web and we'll see how with ClojureScript, an implementation of Clojure that targets JavaScript.
    / gotocon
    / gotoconference
    gotocon.com
    #ClojureScript #lisp
    Looking for a unique learning experience?
    Attend the next GOTO conference near you! Get your ticket at gotopia.tech
    Sign up for updates and specials at gotopia.tech/newsletter
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 26

  • @alecstewart212
    @alecstewart212 7 ปีที่แล้ว +15

    Clojure and the other Lisp dialects are fucking awesome.

    • @danyboon4851
      @danyboon4851 ปีที่แล้ว +1

      please explain why, I amnew to it and I just don't get why people like functinal programming

    • @yondamhokage1977
      @yondamhokage1977 ปีที่แล้ว +1

      @@danyboon4851 bcoz of lisp macros

    • @Oi-mj6dv
      @Oi-mj6dv 10 หลายเดือนก่อน

      Uber based response. All hail lisps supremacy

  • @Caustic13
    @Caustic13 9 ปีที่แล้ว +35

    3 angular devs downvoted

  • @fuckoff3366
    @fuckoff3366 9 ปีที่แล้ว +5

    Really great talk

  • @xealit
    @xealit 7 ปีที่แล้ว +4

    clojurescript repl interacting with the browser -> web scraping..

    • @jewulo
      @jewulo 4 ปีที่แล้ว +1

      Surprised nobody fully saw the beauty and consequence of your comment. It is the equivalent of using the browser as a remote execution machine isn't it?

    • @xealit
      @xealit 4 ปีที่แล้ว +1

      @@jewulo heh, that's an ooold comment! If I remember right, I thought about an interactive web scraping environment.
      A browser sort of web scraps anyway: it downloads a page, then processes whatever is on the page (the html+css, pdf, or whatever) to show it on the screen, it also executes javascript etc.
      But clojurescript-to-browser should have a wider access range: it should be able to access cookies and http, not just html DOM. Therefore you could make a full blown web scrapper out of it. And you could make it interactive. Maybe even something close to figwheel. That would be pretty cool.

  • @acobster
    @acobster 5 ปีที่แล้ว +1

    What does it mean to get the first thing out of a set? How is that even useful? I'm surprised that's not a compiler error.

    • @JaihindhReddy
      @JaihindhReddy 5 ปีที่แล้ว +5

      Clojure has a unified abstraction which can manipulate collections as sequences of things. And clojures sets implement that. So you can get a sequence of the things in a set with the same stable order

  • @RadicalSolver
    @RadicalSolver 9 ปีที่แล้ว +7

    LOL. He thinks recursive programming was invented by Mc Carthy after a computer was built. Someone needs to read the history of the foundations of mathematics and see that even Kurt Gödel didn't claim to invent the notion of a recursive function, but he used it to describe what it means to be a program. (Gödel didn't say it that way, but that's what it was.) About the same time (1929 and into the thirties), Alan Turing defined the notion of a computing machine, but long before either of these guys, Babbage actually built a computer. Saying that a modern day computer scientist "invented" recursive programming is absurd.
    This programming language (clojure) is apparently rather powerful on current computing machines. Great!! But please quit denying the value of the mathematics that came before McCarthy was even born.

    • @jakejakeboom
      @jakejakeboom 8 ปีที่แล้ว +18

      by programming with recursive functions, I think he just meant the first implementation of clean recursion in an actual programming language. Every Lisper worth their salt should know about Church, the lambda calculus, etc

  • @RadicalSolver
    @RadicalSolver 9 ปีที่แล้ว +3

    McCarthy invented functional programming? REALLY?!? Have you never heard of John von Neumann? Read history before claiming such things. Come on!!!

    • @zahardzhan
      @zahardzhan 8 ปีที่แล้ว +3

      +RadicalSolver McCarthy invented metaprogramming, not functional programming.

    • @RadicalSolver
      @RadicalSolver 8 ปีที่แล้ว +1

      +zahardzhan ♥ War Thunder can you give references? I think that the work of Gödel, Church, and Turing might pre-date McCarthy.

    • @zahardzhan
      @zahardzhan 8 ปีที่แล้ว +1

      RadicalSolver www-formal.stanford.edu/jmc/recursive/recursive.html

    • @hexa3389
      @hexa3389 3 ปีที่แล้ว +1

      @@RadicalSolver Church, Godel, and Turing worked on models computation/consistency. Programming in the sense writing text in a file didn't even exist when they were alive for them to invent a way to use it as data.

  • @flippantfishtaco3132
    @flippantfishtaco3132 5 ปีที่แล้ว +1

    Uhm. Ah uhm. Uhm. Sentence uhm sentence. Uhm.