Lisp Tutorial

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

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

  • @derekbanas
    @derekbanas  5 лет назад +46

    Learn in One Videos for Every Programming Language
    Subscribe to Bookmark them: bit.ly/2FWQZTx
    C++ : ruclips.net/video/Rub-JsjMhWY/видео.html
    Python : ruclips.net/video/N4mEzFDjqtA/видео.html
    Java : ruclips.net/video/n-xAqcBCws4/видео.html
    PHP : ruclips.net/video/7TF00hJI78Y/видео.html
    MySQL : ruclips.net/video/yPu6qV5byu4/видео.html
    JavaScript : ruclips.net/video/fju9ii8YsGs/видео.html
    C# : ruclips.net/video/lisiwUZJXqQ/видео.html
    HTML5 : ruclips.net/video/kDyJN7qQETA/видео.html
    CSS3 : ruclips.net/video/CUxH_rWSI1k/видео.html
    JQuery : ruclips.net/video/BWXggB-T1jQ/видео.html
    TypeScript : ruclips.net/video/-PR_XqW9JJU/видео.html
    ECMAScript : ruclips.net/video/Jakoi0G8lBg/видео.html
    Swift : ruclips.net/video/dKaojOZ-az8/видео.html
    R : ruclips.net/video/s3FozVfd7q4/видео.html
    Haskell : ruclips.net/video/02_H3LjqMr8/видео.html
    Handlebars : ruclips.net/video/4HuAnM6b2d8/видео.html
    Bootstrap : ruclips.net/video/gqOEoUR5RHg/видео.html
    Rust : ruclips.net/video/U1EFgCNLDB8/видео.html
    Matlab : ruclips.net/video/NSSTkkKRabI/видео.html
    Arduino : ruclips.net/video/QO_Jlz1qpDw/видео.html
    Crystal : ruclips.net/video/DxFP-Wjqtsc/видео.html
    Emacs : ruclips.net/video/Iagbv974GlQ/видео.html
    Clojure : ruclips.net/video/ciGyHkDuPAE/видео.html
    Shell : ruclips.net/video/hwrnmQumtPw/видео.html
    Perl : ruclips.net/video/WEghIXs8F6c/видео.html
    Perl6 : ruclips.net/video/l0zPwhgWTgM/видео.html
    Elixir : ruclips.net/video/pBNOavRoNL0/видео.html
    D : ruclips.net/video/rwZFTnf9bDU/видео.html
    Fortran : ruclips.net/video/__2UgFNYgf8/видео.html
    LaTeX : ruclips.net/video/VhmkLrOjLsw/видео.html
    F# : ruclips.net/video/c7eNDJN758U/видео.html
    Kotlin : ruclips.net/video/H_oGi8uuDpA/видео.html
    Erlang : ruclips.net/video/IEhwc2q1zG4/видео.html
    Groovy : ruclips.net/video/B98jc8hdu9g/видео.html
    Scala : ruclips.net/video/DzFt0YkZo8M/видео.html
    Lua : ruclips.net/video/iMacxZQMPXs/видео.html
    Ruby : ruclips.net/video/Dji9ALCgfpM/видео.html
    Go : ruclips.net/video/CF9S4QZuV30/видео.html
    Objective C : ruclips.net/video/5esQqZIJ83g/видео.html
    Prolog : ruclips.net/video/SykxWpFwMGs/видео.html
    LISP : ruclips.net/video/ymSq4wHrqyU/видео.html
    Express : ruclips.net/video/xDCKcNBFsuI/видео.html
    Jade : ruclips.net/video/l5AXcXAP4r8/видео.html
    Sass : ruclips.net/video/wz3kElLbEHE/видео.html

  • @najmlion7129
    @najmlion7129 7 лет назад +156

    The reason why I like watching your videos is that, you don't treat your viewers like complete idiots and elaborate on every single point. You don't waste our time either.

    • @AcheronLupus1
      @AcheronLupus1 6 лет назад +16

      Agreed. I like the brisk pacing of the videos, as it gives the general assumption that you have programmed before and you just want to learn new syntax.

    • @mingxi1055
      @mingxi1055 5 лет назад +5

      this is so true.

  • @nileshpathare7753
    @nileshpathare7753 5 лет назад +62

    Install Lisp 00:54 Introduction 02:50 Format 12:09 Math Functions 13:26 Equality 15:11 If 18:13 Case 23:03 When 24:17 Unless 24:52 Cond 25:16 Loop 26:38 DoTimes 28:33 Lists 28:59 Car / Cdr 29:56 Association List 36:35 Functions 38:24 Optional 39:34 Receive Multiple Values 40:18 Key 41:09 Return-From 42:14 Quasi Quoting 42:46 MapCar 44:16 Return Multiple Values 47:16 Higher Order Functions 48:05 Lambda 50:30 Macros 51:20 Classes 56:25 Generic Function 1:00:46 Inheritance 1:05:06 Arrays 1:06:09 Hash Table 1:08:29 Structures 1:10:41 File I/O 1:13:05

  • @rissawrat
    @rissawrat 8 лет назад +653

    not kidding I thought this was a tutorial on how to speak with a lisp but I was greatly mistaken

    • @derekbanas
      @derekbanas  8 лет назад +32

      That's funny :)

    • @PEGuyMadison
      @PEGuyMadison 7 лет назад +4

      Just don't name your dog sylvester... like my former co-worker did. He had a lisp... even he laughed at that one.

    • @fauxgirlie0880
      @fauxgirlie0880 7 лет назад +1

      Dan Campbell 😂

    • @lorealiiiii
      @lorealiiiii 7 лет назад

      Larissa Wratney RIGHTTTT

    • @felicitasmuller868
      @felicitasmuller868 6 лет назад +3

      saMEEE!! i need to speak with a lisp for a drama performance and was really happy to finally find a tutorial on how to speak with a lisp, then i saw the length of it and was quite confused, but still ready for the ride...

  • @haiyangma8655
    @haiyangma8655 5 лет назад +57

    One of the best tutorials I've ever seen, some programming language like Lisp is a bit of hard to find useful tutorials...thanks!

    • @derekbanas
      @derekbanas  5 лет назад +7

      Thank you for the nice compliment :) I always try to do my best

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

      @@derekbanas hope you made a profit on this video. it seems like you put the same effort in this video but got much less views.

  • @monicarivera9340
    @monicarivera9340 7 лет назад +176

    I am weary. My breath is short, and my voice is raspy. I am crawling against the floor with no hope. All I see is black, but then. A shining light appears before me and then I hear. "Well hello internet". The holy arbiter of programming, the LORD himself has come.

    • @derekbanas
      @derekbanas  7 лет назад +15

      That's funny :) I'm happy to be of help

    • @saeedbaig4249
      @saeedbaig4249 6 лет назад +7

      "Well hello internet"
      i read it in his voice😂

  • @euclid9492
    @euclid9492 5 лет назад +18

    I’m taking a class at ASU where we learn a new language/ paradigm every week. So far you have had a great video or series on every one. Java, C, C++, Prolog and Lisp. Thanks for getting us up to speed quickly!

    • @derekbanas
      @derekbanas  5 лет назад +5

      Thank you for the compliment. I'm happy I have been of help.

    • @Bratjuuc
      @Bratjuuc 5 лет назад

      I envy you

    • @joj0ee
      @joj0ee Год назад

      Cse 240 has brought me here as well

  • @joebochinski1693
    @joebochinski1693 8 лет назад +12

    amazing video man. I've been reading LISP tutorials on and off for months now and never fully got it, because I'm a hands on type who likes to see the actual thing being done. This video cleared up SOOOO much, and just in time to give a report on the differences between C++/Java and LISP programming. You're a champ!

    • @derekbanas
      @derekbanas  8 лет назад +2

      +Joe Bochinski thank you very much 😀 I'm glad I cleared it up

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

    Excellent. Suggestion to viewers: watch at .75x the first time for deeper understanding. Derek moves along briskly!

  • @nicrfe
    @nicrfe 7 лет назад +3

    wow, this is the greatest tutorial i have ever seen for any topic. This has saved me soooo much time. I love it. I could learn a new language every night like this. Sure I still have to play with it but getting this far up to speed so quickly and knowing the basic format and limitations is all i need to start playing around. Thanks man. You just saved a month of my life.

    • @derekbanas
      @derekbanas  7 лет назад +2

      Thank you very much :) I'm glad they help

  • @pedro_pinheiro
    @pedro_pinheiro 5 лет назад +2

    God bless you, Derek! I chose LISP as a functional paradigm language to be presented at my university class and was feeling pretty lost until I found your video.
    Kind regards from Brazil!

    • @derekbanas
      @derekbanas  5 лет назад +1

      I'm happy I could help :) May God bless you as well.

  • @up4life108
    @up4life108 7 лет назад +2

    I was watching this tut some months ago and dint understand it at all, though with more experience it all makes SO much sense. Lisp seems really awesome! ( nice tut as always )

  • @biswanathbasak9843
    @biswanathbasak9843 7 лет назад +1

    @21:18 [line no. 6] The variable *Work* can never be =67 at the same time

  • @nobodyimportant2494
    @nobodyimportant2494 9 лет назад +29

    Ith thith doing it right?

  • @manjul707
    @manjul707 Год назад

    Derek is a walking talking programming machine. Love these vids :)

  • @egesabanc7032
    @egesabanc7032 4 года назад +2

    These "in one video" tutorials are great Derek! These are very great to take a look at it before getting started. Keep it going buddy!

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

      Thank you very much :) Happy I could help

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

      @@derekbanas Do you have a Github profile, sir?

  • @calstate
    @calstate 8 лет назад +181

    Dude is there a language that you don't know?

    • @derekbanas
      @derekbanas  8 лет назад +111

      I'm old so I've used mostly all of them :)

    • @RoyalDog214
      @RoyalDog214 8 лет назад +24

      Do you even assembly?

    • @dangnabbit1379
      @dangnabbit1379 7 лет назад +4

      can you assist with the XKCD degree in the universe? because that might actually need to be a thing.

    • @sarawallace9643
      @sarawallace9643 7 лет назад +1

      do you have any videos on SML?

    • @sandeepvk
      @sandeepvk 7 лет назад +8

      perhaps Chinese :)

  • @puremarbib
    @puremarbib 8 лет назад +14

    Hey Derek, a little feedback:
    At 43:40, when you were explaining quasiquoting, I spend 30 minutes trying to figure out why my code wasn't working, finally I realized that I was using an single quote( ' ) , instead of the thingy under the tilde ( ` ). Im my opinion you should have stated it to avoid confusion, would have saved me so much time, especially since we put single quotes in front of variables often!

    • @derekbanas
      @derekbanas  8 лет назад +6

      Sorry for not explaining that better

    • @RogerBarraud
      @RogerBarraud 7 лет назад +7

      "Thingy under the tilde" is called backquote, or backtick.

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

      I use that thing a lot in javascript, but i can understand, they look similar

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

      they should imo remove that symbol, I mean from english/unicode, or change the design. I have heard people having very bad problems due to that symbol, there is this guy on YT, who once deleted some teams entire DB because he used ' instead of ` . I had the same problem as you a week ago when I was learning quasiquoting from a book, which didnt mention it too.

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

      @@vyrsh0 while theyre at it, they should remove capital I and lowercase l too

  • @fredrickfaraj6978
    @fredrickfaraj6978 6 лет назад

    This is awesome....finally a one point resource for an entire programming language.
    Thanks a lot Derek Banas

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you :) I'm very happy you liked it

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

    Thanks for creating this video, you're a good teacher! I'm getting into Common Lisp and this helps expedite the learning process.

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

      Thank you :) I'm happy I could help

  • @FranciscoCostaRamos
    @FranciscoCostaRamos 8 лет назад +2

    Hey Derek!
    I have a question, can structs have a pointer to another struct? And if yes, how would one access the value of that another struct?
    Thank you for your great videos!

  • @jliu6735
    @jliu6735 9 лет назад

    I found this video a super nice refreshment after haven't used lisp for ten years!
    Thank you!

    • @derekbanas
      @derekbanas  9 лет назад

      Jiaqi Liu Thank you :) You're very welcome

  • @chukwuka-steveorefo1812
    @chukwuka-steveorefo1812 6 лет назад

    I'm not sure why but learning at this pace...(with a few pauses) is really exciting!! good Job making these videos.

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you :) I try to make videos that can be paused through so everyone can learn at their own pace

    • @chukwuka-steveorefo1812
      @chukwuka-steveorefo1812 6 лет назад

      From your experience working with many languages, has an underlying ethos or Tao of programming revealed itself to you?

  • @lamda5692
    @lamda5692 6 лет назад

    Derek Banas ...thank you very much ... i have learned so much from your tutorials ....again thank you very much

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

    Hello! I am 14 years old. I know c, c++,python,perl,rust,javascript,python,bash,batch,golang. You are my real hero in the process of learning lisp! Thank you so much!

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

      Thank you for taking the time to write such a nice message :) I wish you all the best and I'm happy that I could help you along on your journey!

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

      @@derekbanasWhat programming language do you recommend I learn? I am a bored competitive programmer.

    • @blog.daLuna
      @blog.daLuna Год назад

      ​@@contprogramare1126 learn haskell and dart

    • @contprogramare1126
      @contprogramare1126 Год назад

      @@blog.daLuna Thank you. Learning haskell was a really battle, but I wined it. Dart sounds good.

  • @abhi18av
    @abhi18av 7 лет назад +3

    Hey, are you planning to do Clojure/ClojureScript tutorial any time soon?
    I really believe that your tutorials genuinely help people get the grasp of a language much faster than a book - Thanks :)

    • @derekbanas
      @derekbanas  7 лет назад +1

      Thank you :) Yes Clojure is on the list

  • @willsi
    @willsi 8 лет назад

    Derek, I think this is the best video I have seen of yours. Others are a bit too... much, hah, but I salute those, too. You do good work.

    • @derekbanas
      @derekbanas  8 лет назад +3

      Tank you for the compliment :)

  • @genericcastleclasher8774
    @genericcastleclasher8774 8 лет назад +1

    Thanks for this very nice Video Derek. After watching this, there just so much Information for me to lookup/think about etc. But you did a good Job. Appreciated watching it, while learning Lisp ^^

    • @derekbanas
      @derekbanas  8 лет назад +1

      You're very welcome :) I'm glad I helped

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

    Does anyone know why at 25:00 he puts "*num-3" after the format t statement at the end?
    I tried it in lisp, it doesn't return the "*num-3*

  • @teckyify
    @teckyify 6 лет назад +1

    Lisp looks surprisingly more alien than Clojure.

  • @wafranz
    @wafranz 5 лет назад +1

    Can you make a video about scheme and recursion in lisp?

  • @alexandra-stefaniamoloiu2431
    @alexandra-stefaniamoloiu2431 8 лет назад +13

    It's great! Thnak you!
    I need to learn Lisp in one day and you video seems to make it possible.

    • @derekbanas
      @derekbanas  8 лет назад +1

      You're very welcome :)

    • @mostafasasan
      @mostafasasan 6 лет назад

      for me the same. I have learned this tutor from Mr. Derek in four seasons, each one ca 30 min. and made meany exercises . At the end I have a compound Idea how can I for my programming in Lisp, use the features He taught me. Thanx Mr. Derek

    • @huthaifaalfaouri3097
      @huthaifaalfaouri3097 6 лет назад

      alexandra-stefania moloiu hi , if you learned, language of lisp, please give me idea, i would do my own lisp

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

    Thank You Derek Banas, you made learning fun and easy.

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

      Thank you for the nice compliment :)

  • @p.putzen8070
    @p.putzen8070 3 года назад +1

    Why not use a REPL for the demo, rather than wrap everything in "format t ..." functions. It would be less confusing for your audience.

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

    Thank you Derek for this very interesting video!

  • @BigyanChap
    @BigyanChap 5 лет назад

    Dude. You are teaching so many programming languages. What actually you use at your workplace?
    And yes, thanx for this nice tutorial. Keep up the great work.

    • @derekbanas
      @derekbanas  5 лет назад +1

      Thank you :) The languages I tend to use the most are JS, PHP, C#, Python, Swift and Kotlin. In the real world I make shopping carts and mobile apps.

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

    Lisp is one of the best, why? Cos its just way out there with the aliens, man, its a supernova on steroids

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

    Thanks a lot for the tutorial. The most helpful resource that I was able to find for lisp out there.

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

      I’m happy I could help :)

  • @Squidey-rc6jb
    @Squidey-rc6jb 6 лет назад

    Instructions unclear, i still dont have a lisp

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

    I didn't understand the reason why we put the macro inside quasi quotes in 54.00. Does it require to be Code rather than Data, doesn't it?

  • @leomingo9388
    @leomingo9388 7 лет назад +2

    Hi, with sbcl I found seemingly a little error at 34 : 33, list counting is 0 indexed that means after the list '(2 4 6) is pushed with 1, it becomes '(1 2 4 6) so (nth 2 *nums*) actually returns the 3rd element of the list.
    I love your tutorials, they are so brilliant, I have watched a whole bunch of them, really getting inspired. So a million words into one ---- Thank you Derek my great teacher :)

    • @derekbanas
      @derekbanas  7 лет назад +3

      Thank you for the correction and the compliment :)

  • @Bastro3000
    @Bastro3000 9 лет назад +5

    Lisp has a certain charm to it :D

    • @derekbanas
      @derekbanas  9 лет назад +4

      +Sébastien Laberge I love lisp! It is amazing that it has stuck around this long.

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

      @@derekbanas If you love lisp, why do you close the brackets in new lines? It hurts man.

  • @lumor12
    @lumor12 7 лет назад +1

    Just started looking at lisp and found your video. I'm building some recursive functions for an AI class. Is everything done in lisp, like the loops you mentioned done recursively or do you just call the functions inside of the functions like others languages. Any "recursion" examples would be appreciated if you have to build those differently than how you brought up looping and functions.

  • @SaranRaj-yu9uf
    @SaranRaj-yu9uf Год назад

    can you make a video on basics of lisp and also the difference between lisp and python
    it will be very usefull to eveyone

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

    The *cons* operator stands for "CONStruct[or]" - not "consecutive". en.wikipedia.org/wiki/Cons

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

    This language makes me feel big brain

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

    You sir... are the philanthropic God of coding.

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

      Thank you for the nice compliment :) I'm very lucky to be able to help

  • @rekucody2691
    @rekucody2691 9 лет назад

    I thought this was great, I posted a link to it on /r/Common_Lisp subreddit. Good Job. As a regular user of Common Lisp (and a contributor to the sbcl compiler) I approve of this video. You have done the community a great service. Thanks!

    • @derekbanas
      @derekbanas  9 лет назад +2

      Cody Mallery Wow thank you :) I have been using Lisp and Prolog a lot on a local university project and thought I'd see if I could help people see how awesome it is. I'm very happy that you liked it.

  • @nineironshore
    @nineironshore 7 лет назад +1

    Can you do a tutorial on Racket? It's much more beginner friendly and it's also very powerful.

  • @mmmmSmegma
    @mmmmSmegma 8 лет назад

    haha... when you're talking about the math functions at 14:30
    I saw (expt 4 2) and thought it was read from right to left so that I thought that it was doing 2 to the power 4.
    Then I tested the subtract function and confirmed that the input parameters are read from left to right. It just so happens that 4 to the power 2 is the same as 2 to the power 4. Lol... which makes me wonder... Hmmm...I think I'm a mathematician by heart.

    • @derekbanas
      @derekbanas  8 лет назад +1

      +mmmmSmegma That's funny :) I didn't think of that. Things like that happen when I write code out of my head.

    • @RogerBarraud
      @RogerBarraud 7 лет назад

      When I'm out of my head I usually go to bed ;-)

  • @PuercoPop
    @PuercoPop 9 лет назад

    To inherit multiple classes separate the class names with spaces not commas.

    • @derekbanas
      @derekbanas  9 лет назад +1

      PuercoPop Whoops you are correct. Sorry about that error. I was getting tired :(

  • @ignaciocorto
    @ignaciocorto 7 лет назад

    1:05:31 using commas to separate class names in lisp? I don't believe it.

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

    Very good tutorial!
    Do you also plan to do a Forth tutorial?

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

    Not going to lie I thought this channel was called Derek Bananas for the past 3 years

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

      That has been my nickname my whole life :) It fits

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

    BTW, what's the difference between
    Common_Lisp & Emacs_Lisp???
    Do I need to re-learn something for each of them???

  • @victorpinasarnault9135
    @victorpinasarnault9135 8 месяцев назад

    I love it! ❤
    Really nice.

  • @canercdm
    @canercdm 9 лет назад

    Hello, I have recently started to learn LISP and this video has been very useful for me to understand the basic functioning of LISP. Thank you so much!
    I just have a question: I write exactly the same code in 58:05 and I use CLISP, however I get an error like "variable *DOG* has no value". Do you have any ideas why it could be happening?

    • @canercdm
      @canercdm 9 лет назад

      Caner Çıdam Tried it on the console, didn't come across any errors. Something is wrong with LispIDE I guess. Thanks again!

    • @derekbanas
      @derekbanas  9 лет назад

      Caner Çıdam That is an odd error. Sorry I haven't done much with the Lisp IDE

  • @oidissio
    @oidissio 9 лет назад

    OMG! I've just started learning LISP and have been wondering if you have this video! What a coincidence!

    • @a.s.9145
      @a.s.9145 8 лет назад

      after a year, result u got was worth it?

    • @oidissio
      @oidissio 8 лет назад

      Yeah, I'm quite happy to have some experience in working with LISP

  • @jefffoster9399
    @jefffoster9399 8 лет назад +1

    Another amazing video! Have you thought of putting up anything related to Clojure and ClojureScript? Thank you Derek!

    • @derekbanas
      @derekbanas  8 лет назад +6

      +Jeff Foster Thank you :) Yes Clojure is coming soon.

    • @Jjunior130
      @Jjunior130 8 лет назад +2

      still waiting for clojure.

  • @emirhandemir3872
    @emirhandemir3872 Год назад

    Awesome tutorial. Thanks a lot for your help man ! Appreciated it :)

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

    How do you create a Windows UI with buttons and knobs and input boxes?
    Do you have a video on that?

  • @unboxingvaio979
    @unboxingvaio979 6 лет назад

    This is an excellent tutorial on lisp. Thanks.

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

    How to define counter variables/ how to define two counter variables?

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

    Lisp is great!!!!!

  • @ShellBullet101
    @ShellBullet101 9 лет назад

    I've been waiting for this for a long time many thanks to you Derek

    • @derekbanas
      @derekbanas  9 лет назад

      ShellBullet1011 It is one of my favorite languages. I'm very happy that I could cover it.

    • @AF1FHT12
      @AF1FHT12 9 лет назад

      Derek Banas I love LISP. Amazing Language.

    • @derekbanas
      @derekbanas  9 лет назад

      AF1FHT12 Yes very cool!

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

    hello! is there a specific location to save my file? I am getting an error when I try to run my file in my terminal.

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

    Well I just got my FIRST fiverr order and it was related to lisp. I took the order anyway although I have never even seen someone code lisp before. And here I am, learning lisp in an hour and I can easily say this video will help me code whatever customer needs. XD

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

      I'm happy I could help :)

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

      @@derekbanas You and those guys at stackoverflow helped me complete a project in under 24 hrs when I was extremely new to lisp

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

    Amazing videos. If you think that khan academy is great being free, this is different. Compact, time efficient learning. Other media can fill in the gaps such as books, more complete videos, courses, etc, but this overview idea is a really need learning tool, and Mr. Banas does it so well.

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

      Thank you for the nice compliment :)

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

    hello, Does this video explain the lisp in logic programming
    please answer me . and thank you

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

    Stuck 2 mins in, link for win32 not there. But I downloaded a version, I go to open it, system asks, what do you want to open this with. I have no idea. And those windows don't pop up to install, so .... yeah. What now?

  • @darrenringer9811
    @darrenringer9811 6 лет назад

    I can't decide whether it was a coincidence that the stylized "LISP" logo looks like the outline of a boot nested inside the back side of a farm animal. Orwell would be proud.

  • @shellgecko
    @shellgecko 9 лет назад +1

    thank you very for your videos... could you make some for haskell or R?

    • @derekbanas
      @derekbanas  9 лет назад +3

      Antonio Campos Your welcome :) Haskell is coming out in the next few days

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

    I have to make a lisp program with parameters as currency and dollar and calculate the amount of specified Currency corresponding to the specified amount of
    Dollars. How can I do that?

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

    Thanks for this amazing tutorial !! :P

  • @rekucody2691
    @rekucody2691 9 лет назад

    You may dislike Common Lisp, It may not have tons of libraries or a nice community (they are pretty violent over on comp.lang.lisp), It may have strange conventions and language warts. Some implementations generate huge binaries because they ship the entire runtime inside the executable. However Common Lisp has a standard that is set in stone, meaning the language is stable, you do not have to learn a new language core api every 6 months or worry about legacy lisp code not running. Common lisp is a stable platform to get real world problems done. A tool box containing C/C++, a Lisp implementation, and a web language is hard to beat. Remember use the right tool for the job, no matter how amazing lisp seems, sometimes lisp is not the tool you are looking for.

    • @derekbanas
      @derekbanas  9 лет назад +1

      Cody Mallery I agree that Lisp definitely isn't perfect for every situation, but when it's good there is nothing else quite like it.

  • @saharuh
    @saharuh 6 лет назад

    when u trying to see what a lisp is like but then you stumble onto this

  • @alexjones9230
    @alexjones9230 8 лет назад +1

    Hey Derek, I would like to know if you can help me with Lisp macro list comprehensions. I would like to learn how to have an endless list and the for each element which is even (mod x 2), I want to times it by itslef... so for example if I have a list of (1 2 3 4 5 6 .....) I would like to write a code to take even numbers out (for loop) and times them by itself and display them in another list as ( 4, 16, 36, ...) ... can you possibly point me to the right direction. thank you.

    • @exmachina767
      @exmachina767 6 лет назад

      Alex Jones Read about streams in "SICP" by Sussman and Abelson, and macros in "On Lisp" by Paul Graham and/or "Let over Lambda" by Doug Hoyte. Those two building blocks should help you solve your problem completely. Alternatively, you could use Haskell and get the lazy evaluation trait of streams for free.

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

    Also, is python's format string like lisp's ability to switch between data and code? I.E. print(f"{size.name} is {size.height} and {size.weight}")

  • @LS-cb7lg
    @LS-cb7lg 3 года назад

    Hey, I really liked this video and it inspired me to code a game in lisp: snake. But now I am stuck here: I try to get input from the console: w a s or d. Is there a function like read-char that does not require me to press enter? I was looking everywhere but the only thing I could find, was that read-char is not the problem, it is the input-stream, that requires me to press enter. How do I change the behaviour of input-stream so that it works?

  • @liveon7400
    @liveon7400 9 лет назад

    Derek Banas I have been following your channel ever since your first programming tutorial in one video, and my mind state towards your videos has changed from simply interesting to truly impressive over time. How long is your learning cycle to a new programming language? Do you cover esoteric programming language? (Just kidding, don't be serious!) Thank you very much all the time.

    • @derekbanas
      @derekbanas  9 лет назад +1

      Large O Thank you for the compliment :) After doing this for 30 years it is pretty easy to change languages for me. I do a lot of free work helping students on projects and it is fun to use languages I haven't used for years. Lisp was an old favorite of mine that I have happily been able to have fun with over the last few months and I thought I'd share the fun.

  • @seanallred
    @seanallred 9 лет назад +3

    Couple things:
    1. Please don't introduce the concept of state so early :( There are pedagogically-sound ways to draw parallels without introducing something so unnatural to lisp.
    2. Cons cells are 'constructed memory objects' - they aren't 'consecutive' (www-formal.stanford.edu/jmc/recursive.pdf p28)

    • @derekbanas
      @derekbanas  9 лет назад +4

      +Sean Allred Sorry about the cons mess up. I looked back through my notes and realized that I have been calling them consecutive cells for years because of how they were first described to me. You are correct. I basically tried to teach Lisp in a way that I thought would be easier to digest then what I saw in other text books. I'm sorry if you didn't like it.

    • @seanallred
      @seanallred 9 лет назад +2

      It's alright :) I'm not myself a fan of your pedagogical strategy with this one, but I understand the parallels you're trying to draw with languages or patterns your audience may already be familiar with :)
      And it's amazing all the things we go through life thinking! XD I've discovered a bunch of those things and I'm sure there are more to turn over.
      (Though aside, I can see where 'consecutive' makes sense, too - being a linked list and all. Just isn't what's in the paper ;)

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

    Great intro. Thank you.

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

    20:34 am I missing something, or your logic is wrong there? Don't you want to compare age >= 14 and

  • @DouglasRocha_
    @DouglasRocha_ 9 лет назад

    Man... There is one word to describe you: "Awesome"! Thanks a lot :)

    • @derekbanas
      @derekbanas  9 лет назад

      +Douglas Rocha Thank you :) You're very welcome

  • @Dly_life
    @Dly_life 7 лет назад +1

    Great tutorial love it ;D thank you Derek

  • @andreaschari7618
    @andreaschari7618 9 лет назад

    awesome tutorial thanks for responding to our requests .
    can you do prolog tutorial next?

    • @derekbanas
      @derekbanas  9 лет назад

      Andreas Chari Prolog would be a great video to follow Lisp for AI reasons alone. I'm leaning that way.

  • @benelder6141
    @benelder6141 9 лет назад

    Derek, I've been watching many of the videos that you've posted and enjoy them. I've learned a lot. I have been toying around with some of the tips I've learned from you and am trying to figure out how to display, sort and filter data pulled from MySQL via PHP to a webpage. The thought is to be able to click the header and sort the data, have a hierarchical filter system and be able to display a page at a time. Just a thought for a series possibly? Or maybe you have a good reference? Thanks again, the work you do has inspired me.

    • @derekbanas
      @derekbanas  9 лет назад

      Ben Elder Thank you :) It would be easy to pull the data into a table and then use a plugin like this to sort everything dynamically tablesorter.com/docs/
      Anything dynamic will have to be implemented with JavaScript. I plan on making many more useful JavaScript videos soon.

  • @argamangez
    @argamangez 9 лет назад +2

    can you make a batch tutorial?

  • @jack002tuber
    @jack002tuber 6 лет назад

    That was awesome. You saved me a month of reading

    • @derekbanas
      @derekbanas  6 лет назад +1

      Thank you :) I'm happy I could help

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

    C, Python, and MATLAB coder. Lex Fridman brought me here. Mahalo!

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

      Seriously? He referred my video? If that’s true that is pretty cool

  • @iShUddl3J0k3r
    @iShUddl3J0k3r 5 лет назад

    I tried the very first example (on LispWorks) and it didn't work :(

  • @tatianazihindula8762
    @tatianazihindula8762 7 лет назад +1

    Hey Derek, Thank you very much for the video!
    I am curious to know how you managed to learn so many programming languages.
    I am a computer Science student in Ireland, and in my first year I have personally managed to only learn Python aside the languages I am learning in College. We are leaning programming with C (in 1st year). We also touched HTML, CSS and JS in one of our modules, glanced on Bash and Batch scripting in our OS Module, and Haskel and Scratch in 2 of our other modules.
    However, we didn't go in much details in some of them.
    I recently started using emacs and as it's build in lisp, I am interested to learn the language so that I can customize it to suit my needs.
    If possible, I could you give few advises, recommendations that could help a programmer become more proficient? any advise, recommendation... is very welcome.
    Thanks in advance.

    • @derekbanas
      @derekbanas  7 лет назад +7

      You're very welcome :) I'm glad you liked it. First I'm not naturally smart, so anyone can do what I do. I contribute my ability to learn rather quickly to the fact that I do it every day. A former boss many years ago made us take 1 hour per day learning anything new. He insisted that that would keep our brains healthy or some sort? Anyway so I would study programming languages, spoken languages, painting, crosswords, game strategies, writing, etc. every day for 1 hour. What I studied only depended on what I was interested in at the moment. I have continued doing that now for 20 years and so I guess that is why learning new things is natural. I hope that helped in some way.

    • @RogerBarraud
      @RogerBarraud 7 лет назад

      Your boss was right! - Evidently it worked very well in your case :-)

  • @mostafasasan
    @mostafasasan 6 лет назад

    Thank you very much for your comprehend Lecture. I have learned and practiced every Item which was very helpful for my Lisp-Experience.

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you I'm happy to be of help :)

  • @haliloymac6805
    @haliloymac6805 9 лет назад

    Thanks my knowledgeable teacher Derek Banas.

    • @derekbanas
      @derekbanas  9 лет назад

      +Halil İbrahim Oymacı You're very welcome :)

  • @felixlin4804
    @felixlin4804 7 лет назад +3

    Is there going to be a ADA, PASCAL, FORTRAN or COBOL video?

    • @derekbanas
      @derekbanas  7 лет назад +2

      I've considered Fortran and Cobol and will do them if I get enough requests

    • @intuit13
      @intuit13 7 лет назад +1

      Ada.

    • @intuit13
      @intuit13 7 лет назад

      and Pascal (basic pascal- almost no material from the last 20 years!)

    • @wilyartihoward2005
      @wilyartihoward2005 6 лет назад

      Lol don't tempt him 🤣🤣🤣

    • @ahmedkaloune4288
      @ahmedkaloune4288 6 лет назад

      FORTRAN please

  • @anbarasanv8605
    @anbarasanv8605 6 лет назад

    hello sir,please post a video for auto increment

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

    Lifesaver for my Programming Languages class. Donation heading your way

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

      Thank you :) I'm very happy I could help

  • @shahidkhan0219
    @shahidkhan0219 7 лет назад

    I feel lucky to see u r tutorial it is so simple and awsome .
    Thanks so much.
    Can u please suggest some other languages that i Should study.
    I know php,python,c and c ++(basics level).

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) C# is a fantastic language that I use every day. Also JavaScript

  • @jashgala6202
    @jashgala6202 9 лет назад +3

    I have heard a lot of people say that Lisp (and many other languages similar to it) are not useful for any practical purposes? Then is there a reason why so many people are interested in Lisp? Also, can you please make a video tutorial on emacs? It would be wonderful to supplement some interesting aspects of Lisp as well as help newbies like me become more productive.

    • @derekbanas
      @derekbanas  9 лет назад +4

      +Jash Gala Lisp is widely used in the travel industry and to a lesser extent in universities for AI. Either way I find learning other languages like lisp are a great way to expand your mind and improve problem solving abilities. I have implemented capabilities in other languages into Java because Java didn't have those abilities. I would have never known I needed them unless I was introduced to them in other languages.

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

    Took me a while to get that quasiquotation is just like template strings in javascript.