Тёмный

Lisp in 100 Seconds 

Fireship
Подписаться 3,3 млн
Просмотров 470 тыс.
50% 1

Lisp is world’s second high-level programming language and is still used to build software today. It was the first to implement many popular programming techniques like higher-order functions, recursion, REPL, garbage collection, and more.
#programming #code #100SecondsOfCode
💬 Chat with Me on Discord
/ discord
🔗 Resources
- Lisp Tutorial lisp-lang.org/
- Fortran in 100 Seconds • FORTRAN in 100 Seconds
- C in 100 Seconds • C in 100 Seconds
🔥 Get More Content - Upgrade to PRO
Upgrade at fireship.io/pro
Use code YT25 for 25% off PRO access
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- What is Lisp?
- Should I learn Lisp?
- Lisp basics tutorial
- Who invented Lisp?
- Lisp vs Fortran
- Lisp vs C

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 742   
@SirKurt25
@SirKurt25 Год назад
4 years ago, I was responsible for maintaining a giant project from 1978, written in Lisp. There was a widely used syntax in that project and I didn't know what it did or how it worked. I searched the internet but nobody knew what it did. I just stopped meddling with it and ignored it for a while. Only later I discovered that syntax was possible thanks to a custom macro written in the project itself. The boomers created a domain specific language and didn't document it.
@madsteeez
@madsteeez Год назад
I've had a similar experience
@supremeleader5516
@supremeleader5516 Год назад
What was the project
@proosee
@proosee 11 месяцев назад
well... Lisp is directly for this purpose: to create domain specific languages, so there should be no surprise there. Documentation is different matter, but sometimes code is your best documentation because it is by definition always up to date, of course it is only useful if it's written expressively enough.
@gagagero
@gagagero 11 месяцев назад
​@@prooseeThe "purpose" of Lisp isn't to create DSLs lol. Macros should only be used where absolutely necessary. Wherever you can, you should use functions.
@John-zq8nf
@John-zq8nf 10 месяцев назад
So you entered new project and didn't even begin with learning language it uses? Well.
@zaynelumpkin
@zaynelumpkin Год назад
Learning to program a little Lisp (specifically, Racket) was one of the most rewarding things I ever did as a programmer. The syntax and the approach was so different from anything else I'd ever used, but Lisp was so internally consistent, and everything worked together perfectly once you figured it out; Everything is a list, every element of a list can be a list, and everything can be done recursively. It feels like a language from another planet, and getting familiar with it really expanded my mind and my approach to problems in programming. Learning some Lisp is an incredible way to challenge your assumptions and expand your ability to think about problems.
@neilbedwell7763
@neilbedwell7763 Год назад
I'm with you. Personally, since LISP is so translatable, I posit that it really should be considered the definitive way to arrange computation, and that humanity has made a massive mistake making the lineage of LISP the exception. (it truly is in the direction of us having a language that can express any other language-implememtation solution and become a mid-point between comparing any other two languages, which essentially become DSL's with bizarrely chaotic implementations)
@cristianocolangelo9920
@cristianocolangelo9920 Год назад
My university teaches Racket as first programming language (bachelor in computer science). Pretty hardcore
@PRonYouTube
@PRonYouTube Год назад
@@cristianocolangelo9920 pretty cool! Which uni?
@hashtags_YT
@hashtags_YT Год назад
I personally feel Haskell would scratch that itch better, but to each their own. That said, definitely give it a try if you haven't already, it's a whole lot of fun to use whilst completely flipping all your programming knowledge on it's head.
@santhosh3374
@santhosh3374 Год назад
Its pretty similar to prolog.
@taylankammer
@taylankammer Год назад
Some corrections and clarifications: 1. Scheme (1975) is older than Common Lisp (1984). Both are derived from but significantly different from John McCarthy's original LISP (1958) which is not used anymore. 2. The various "Lisp" languages are actually as different as C, C++ and C# so I would discourage from speaking as if "Lisp" is one programming language, unless you mean the original LISP. 3. Usually people say "LISP 1.5" when they mean the original one from McCarthy, because that's the last version of the original language that he published. 4. Some of the important innovations were first invented in Scheme, not LISP. That includes lexical scoping, true first-class functions/closures, and "hygienic" macros. 5. Scheme and Common Lisp are standardized, like C, and there are many implementations of them. CLisp is just one Common Lisp implementation, like GCC for C. 6. Scheme was originally a research project, and while newer and more feature-rich standards were published over the years, the standards continue to be very minimal. So you'll usually commit to a specific implementation, like Racket or Guile, if you want to do something serious with it. 7. Both Common Lisp, and serious/modern implementations of Scheme, can be and are used for "real" serious software projects. For example GNU Guix is a complete GNU/Linux distribution with many core components implemented with the Guile implementation of Scheme. 8. Both Common Lisp and Scheme can be compiled rather than interpreted, it's up to the implementation. The Chicken Scheme compiler actually converts Scheme to C before compiling it with a C compiler for instance. 9. Any talk about the Lisp family of languages is incomplete without mentioning Emacs Lisp. ;-) Emacs is essentially an implementation of a custom LISP-derived programming language called Emacs Lisp (most similar to Common Lisp from the bunch) that is special-tailored to the task of implementing a text editor in it.
@juuuuuuules
@juuuuuuules Год назад
this guy lisps!
@TheMR-777
@TheMR-777 Год назад
I want to eat Chips now
@neilbedwell7763
@neilbedwell7763 Год назад
Good lord I find these things so important for someone just discovering the computational problems that the lineage of LISP uniquely answers, and benefits from learning sooner rather than later. this kind of accessible collation is barely anywhere. For the sake of every hackers journey thank you.
@qandak
@qandak Год назад
AutoCAD first released in 1982 still uses its own scripting language for automation - AutoLISP.
@Imaltont
@Imaltont Год назад
For #1, both were also (co-)created by Guy Steele, which is also one of the minds behind the original Emacs, and it is pretty much impossible to have never touched some of his work if you have used a modern computer.
@irian3x3
@irian3x3 Год назад
"circum-size" lmfao
@IntentStore
@IntentStore Год назад
*giggles intensify*
@dugtrioramen
@dugtrioramen Год назад
Man has too much fun on these educational videos
@seannewell397
@seannewell397 Год назад
Got got
@shane-porter
@shane-porter Год назад
Did you know that doing for(-skin) loop inside such a function results in a syntax error?
@CharlesChacon
@CharlesChacon Год назад
@@shane-porter 👏
@LongDayAlone
@LongDayAlone Год назад
As a Clojure Dev, it warms my heart seeing u cover lisp! Well played sir!
@TheDarkOne629
@TheDarkOne629 Год назад
Hello there. Nice to meet a fellow crazy clojurian. Although half the internet would be raising pitchforks again if anyone here called Clojure a lisp. Stay safe, friend.
@icephonex
@icephonex Год назад
Do you use clojure at work or as a hobby language? if you use it at work, do you know if it's niche or if it's high in demand? sorry for all of the questions, have a great day c:
@TheDarkOne629
@TheDarkOne629 Год назад
@@icephonex In Berlin, there are some well-paying jobs with Clojure. However, even my employer is looking for other languages to use. It might be worth checking a local meeting for Clojure programmers and asking there.
@zeffster2
@zeffster2 Год назад
then I guess you also cringed a little at all the mutable stuff in this video
@sina7306
@sina7306 Год назад
Its not high demand like other languages but many companies use it (walmart, netflix, boeing)
@0xahmad542
@0xahmad542 Год назад
This is honestly the first 100 seconds video where I had to pause a video to understand the content ( so I can put it on my resume ofc )
@electrolyteorb
@electrolyteorb 7 месяцев назад
​@user-he4fd7ly3nwhat? Suicide help line or something?
@afmikasenpai
@afmikasenpai Год назад
1:49 The function name caught me off guard. Great content as always !
@JamieMcI
@JamieMcI Год назад
Great tip!
@zameerfouzan
@zameerfouzan Год назад
@@JamieMcI that's hard/
@theseangle
@theseangle Год назад
@@JamieMcI what tip? 😏
@anon_y_mousse
@anon_y_mousse Год назад
Don't worry, unless your name is Rad, then tuck and roll. ;)
@Arkemix30
@Arkemix30 Год назад
@@theseangle xD
@CptJackass325
@CptJackass325 Год назад
I just started reading the wizard book (Structure and Interpretation for Computer Programs) and this is the first thing I see. Thanks for the content!
@expertdev
@expertdev Год назад
It's wonderful to know that amazing languages were created on the middle of fifties and sixties and they keeps running modern computers and also they are used like mockups for new languagues. I love those short videos, please keep us up-to-date about the things that the universities and institutes don't share with its students. Thanks Fireship!
@tobiascornille
@tobiascornille Год назад
If there's one things unis are good at, it's at teaching stuff from the fifties and sixties 😛
@Sakuraigi
@Sakuraigi 8 месяцев назад
​@@tobiascornilletrue
@oneandonly_h4
@oneandonly_h4 Год назад
So happy to see you reviewing one of my favorite programming languages of all time!!
@gareth2021
@gareth2021 Год назад
Care to elaborate why it’s one of your favorite PL? xd My first impression of these languages was that they are „weirdly complicated“. Just curious
@oneandonly_h4
@oneandonly_h4 Год назад
@@gareth2021 because it's an art form :)
@Me-da-Ghost
@Me-da-Ghost Год назад
I remember trying to make my own "dream programming language" and I ended up with something which now I realise is exactly like Lisp, brackets and all.
@oneandonly_h4
@oneandonly_h4 Год назад
@@Me-da-Ghost See! Lisp is so awesome it's an inspiration to us all :D
@maccsguitar
@maccsguitar Год назад
@@gareth2021 My first impression was "weirdly simple", just put every command in parentheses and the operator/command/function in front, and evaluate from left to right inside parentheses. Otherwise its all the same stuff as other languages, but some of the names might be old. Translating a simple python program into a lisp-dialect, and then with a parser i use myself: def do_something (a, b): c = [a, b] for item in c: print(a, b, item) == (defun do_something (a b) (setq c (list a b)) (foreach item c (print a b item) ) ) == defun do_something (a b): setq c [a b] foreach item c: print a b item The real kicker though is that when it is tedious to write something that really shouldn't be a function or you need to write multiple necessary things for some simple input, you can make another command (a macro) out of that, and the compiler will add all the necessary things for you. Most beginners don't need to use this feature though, its a complete language as it is.
@EngineerNick
@EngineerNick Год назад
There is a variant of lisp in autocad and I made it draw a vectorized mandlebrot using a marching squares algorithm. Probably the most productive thing I ever did in both Lisp and Autocad XD
@evilotis01
@evilotis01 Год назад
that's fkn awesome
@emmanuelconstantinidis2151
@emmanuelconstantinidis2151 Год назад
Now that Fireship has made a video, my coworker will finally believe me that Lisp is a serious language!🙏
@nissanGold
@nissanGold Год назад
Learning Racket (a LISP type language) in Uni helped me solve harder recursive problems.
@larrytron1992
@larrytron1992 Год назад
LISP was the programming language used for Naughty Dog’s Crash Bandicoot series on PS1 and Jak & Daxter series on PS2
@juanignacioaschura9437
@juanignacioaschura9437 Год назад
Tetralogy*
@jamesalexander5559
@jamesalexander5559 Год назад
Naughty Dog made their own internal programming language that used LISP's syntax called GOAL which means "Game Orientated Assembly LISP". They stopped using it for the first 3 Uncharted games but recreated it for the PS3 when making The Last of Us and I believe they still use it to this day.
@usopenplayer
@usopenplayer Год назад
Been craving a LISP video from you. Great and simple breakdown.
@valentin6824
@valentin6824 Год назад
Love it :) A language from 1955 but it has so many things in it we are using still today.
@oneandonly_h4
@oneandonly_h4 Год назад
Lisp truly is a timeless language 🔥
@valentin6824
@valentin6824 Год назад
@@oneandonly_h4 but its hard to learn.
@lighter7405
@lighter7405 Год назад
Man, thanks a lot, finally I can start doing my lisp hw after delaying it and waiting for your 100seconds lesson.
@Shoulder2Chin
@Shoulder2Chin Год назад
I wish I could give you more thumbs up. I'm going through the "Land of Lisp" right now.
@Trozdol
@Trozdol Год назад
A quote about Lisp that stuck with me was "Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in.“ - Larry Wall
@crackwitz
@crackwitz Год назад
Toe nail clippings From the Gnu RMS himself
@NoOne-ev3jn
@NoOne-ev3jn Год назад
Today, I started reading a book called “structure and interpretation of computer programs” that uses Lisp as the chosen programming language and this video came out the same freaking day is this a coincidence? Think not
@TheDarkOne629
@TheDarkOne629 Год назад
I like the first definition of s-expressions that I ever read: - An atom is a s-expression. - A function is a s-expression. - The empty list is a s-expression. - A cons is a s-expression if both its car and cdr are s-expressions.
@magne6049
@magne6049 Год назад
0:55 Racket is the Lisp successor that takes programmable programming language (or in their words: language oriented programming) to its full extent. It’s the best language for writing your own Domain Specific Language (DSL).
@TheDarkOne629
@TheDarkOne629 Год назад
Maybe I misunderstood, but isn't that what any "real" lisp does (i.e. programs can read and execute themselves)? Please tell me if I'm wrong. I still don't understand Scheme, only Clojure and some Toy-Lisps.
@magne6049
@magne6049 Год назад
@@TheDarkOne629 I did post a reply with links and everything, but it seems gone :( But anyway, in short: Racket has unprecedented support for macros (even containing the lexical environment in a syntax object), to aid you in writing your own DSL. Clojure doesn’t support reader macros for instance.
@fictitiousforce9048
@fictitiousforce9048 Год назад
@@magne6049RU-vid often thinks links == spam for comments
@kurtmueller2089
@kurtmueller2089 Год назад
I recommend the book "Practical Common Lisp" for those who want an intro into Lisp. It is more... well, practical, than the Lisp books on AI for example.
@crackwitz
@crackwitz Год назад
Lisp books on "AI" are of historical value only. "AI" from the 80s is soon far away from contemporary AI.
@kurtmueller2089
@kurtmueller2089 Год назад
@@crackwitz true, but not necessarily in a negative way. Today's AI is more like pattern matching on steroids, back then AI researches tried to go with "real" AI, aka, human-like AI.
@thanatosor
@thanatosor Год назад
The concept and ideas are always fascinating in Lisp, except in real world usage. The hardest codebase to maintain. Edit 1 : Look, I’m not a professor neither a Lisp expert, just a typical dev working around various languages so I share my experience with you guys. Feel free to prove me wrong, it’s just my experience. Even improving a C++ codebase is still way better than dig into lisp family source of someone else.
@Chalisque
@Chalisque Год назад
It's more a language you want to know about, and have a basic grasp of, rather than use for real world projects. Time and again, you'll find yourself re-inventing bits of Lisp.
@thanatosor
@thanatosor Год назад
@@Chalisque 12 years ago, I actually fell into that compiler/interpreter making loop of Lisp and can’t get out until dozen of trash implementations. If anyone want to, at least use ML language ( like FSharp or Ocaml ) to define your own lisp in no time. Beside, I found out that making Forth compiler is easier and more fun. In fact, Lisp compiler is based on forth-like virtual machine to have GC and byte code.
@skyhappy
@skyhappy Год назад
how you know
@thanatosor
@thanatosor Год назад
@@skyhappy dude, try to modify defold editor, which was written in Clojure. And you will see what I mean :)
@davisuga
@davisuga Год назад
This screams "I don't know what I am doing" so hard
@Antiorganizer
@Antiorganizer Год назад
This is useful as a quick first glance so that you can get the gist without having to waste a whole lot of time. One can make mental notes what to learn more about in detail, and one can go in knowing what should be covered. It's like a fast forward to a synopsis of what it offers. Definitely need this for literally every language that has at least some popularity. Another one, and this one isn't popular anymore, but still offers insight what today's systems *ought* to offer, is: Smalltalk ! Not that I'm a fan of the language itself, but there is something inherently special about the notion of truly live coding, instead all the mickey mousing that everyone does now.
@nbme-answers
@nbme-answers Год назад
1:01 The Lisp alien mascot is named “Svigo” (‘parenthesis’ in Icelandic) and was created and designed by Conrad Barski, author of Land of Lisp and Bitcoin for the Befuddled
@roteschwert
@roteschwert Год назад
The syntax was daunting at first, but after learning to code Fennel (a Lisp that compiles to Lua) to write my Neovim configuration, I can confidently say I won't be choosing anything else
@thaenalpha
@thaenalpha Год назад
Interesting! Can it use on anywhere else?
@roteschwert
@roteschwert Год назад
@@thaenalpha anywhere you can run Lua
@gagagero
@gagagero 9 месяцев назад
Isn't Fennel just Lua with s-expressions?
@DynamiteMustDie
@DynamiteMustDie 11 месяцев назад
Being from the engineering background, I'm in the process of strengthening my computer science basics and learning SICP, which extensively uses Scheme, a Lisp dialect. Needless to say, It's totally alien when skimming it but turns out it's very easy to grasp and can explain numerous concepts, especially abstraction, in a simple fashion.
@Art-is-craft
@Art-is-craft 8 месяцев назад
Have a look at How to Design Programs book. It was developed by the same people that developed PLT Scheme. It is also a book that is based on the concepts of SICP. So you will find the same programming concepts in the book. There is website based on the book which in effect is the book.
@taylorallred6208
@taylorallred6208 Год назад
Thank you for really doing lisp justice in the video! You clearly understood the core design principles and goals of the language.
@hungrygator4716
@hungrygator4716 Год назад
Its finally here, I've been waiting for months. Thank you Fireship!
@kickthesky
@kickthesky Год назад
I took a class in college in Lisp way back in 1988. I was lucky the professor let us take our tests open notes. I still barely passed that class! This video gave me bad flashbacks of that class, LOL.
@curls6778
@curls6778 Год назад
I feel like the interactive development process did not get the attention it would have deserved, being one of lisps most important and distinctive features…
@μολώνλαβέ-κ2τ
@μολώνλαβέ-κ2τ Год назад
Yeah, not even a mention to the REPL.
@crackwitz
@crackwitz Год назад
To JavaScript peeps, that is a given. To "explicitly compiled" knuckle draggers, that is witchcraft.
@curls6778
@curls6778 Год назад
@@crackwitz the interactive development in lisp is quite different from the javascript repl though
@crackwitz
@crackwitz Год назад
@@curls6778 I'd like to hear more about what you say I'm missing. I'm very familiar with Python and JS, somewhat with Scheme. Got any links or keywords to see what makes it different or "more"?
@GavinFreeborn
@GavinFreeborn Год назад
​@@crackwitz With lisp you can modify the program as it runs. There is no GIL stopping this or the single threaded nature of javascript. This may sound like a small distinction but it really does change how you program. For some of my work I will startup a web server written in lisp and write the majority of what I want to do without ever needing to shut down the server. In addition common lisp also has the common lisp condition system which allows you to do some really powerful stuff with exceptions allowing you to recover from errors in the repl. There is a ton to this so it's really hard to summarize but I actually have a RU-vid called "Why Lisp Is One Of The Most Productive Programming Languages" focused on some of this
@machinima1402
@machinima1402 Год назад
The circum-size function got me scared for a whole second
@hishamseddik4761
@hishamseddik4761 Год назад
@1:49 "use the def-fun keyword - which is definitely the way you pronounce it" That killed me.
@christopheroliver148
@christopheroliver148 Год назад
I heard def un, which is never the way I pronounced it. I've always said de-fun with a stress on the second syllable.
@miclaymon
@miclaymon Год назад
i just got an assignment to do in Lisp this weekend. good timing.
@qEagleStrikerp
@qEagleStrikerp Год назад
How about a Teal (for Lua) video next? Love it and it sure deserves to get some more attention. It's similar to Typescript, in that it is a typed version of Lua that can compile to Lua. An underrated extension for an underrated language ...
@thewitheredstriker
@thewitheredstriker Год назад
Interesting
@RT-.
@RT-. Год назад
I don't know - the most popular and maintained typed Lua is currently Luau, and I think it will stay like that for a really long time
@EvanEdwards
@EvanEdwards Год назад
I was a little wary when I hit this video, but it is a solid introduction to a language with an extremely complex history and lauded for elegance that isn't always obvious, plus the weight of being such an early language the syntax is quirky by today's standards. Lisp is one of those "you should know these concepts down to the core if you want to make a career out of coding" languages. It's like learning to cook eggs perfectly when you want to be a chef: you learn a fundamental ingredient (protein) inside and out, plus you learn the rigor and mindset of _how_ to learn something inside and out. You'll see that ingredient used a thousand ways in a dozen forms, as a major and minor part, but you also can approach anything new with a wider approach of thought and learning. Seldom will you use Lisp directly, but you'll use variants and languages with features pulled from it over and over.
@maccsguitar
@maccsguitar Год назад
imo lisp makes the basics really easy: when you do maths, the thing you want to calculate first is out in parentheses. in lisp, every command is inside parentheses and everything in parentheses is evaluated from left to right before the command is run. when a command (a function) is run, it means that that command's parentheses and their contents can be replaced by the return value which is the value you get by evaluating the command's definition with the values after the command's name. that is done by evaluating those parentheses in order the same way as before. No language gets cleaner than that teaching the basics. I tried to start from c, quit, was forced to start with lisp, and after that everything in c-style language-syntax was so much easier to understand
@zednotdead
@zednotdead Год назад
Now that you did Lisp, you should do a tutorial on setting up Emacs as an IDE! Because why not!
@mitchmarq428
@mitchmarq428 Год назад
That would take years
@lawrencedoliveiro9104
@lawrencedoliveiro9104 Год назад
Emacs is one of those things you can start working with very quickly. Then as you get more familiar with it, you feel the need to add a little customization here and a little bit there. Looking at the Git repo containing my custom Emacs prefs, the first commit was made in 2007. Currently the main file is about 900 lines. I wouldn’t consider myself an Emacs expert, by any means.
@Hyperboid
@Hyperboid Год назад
yeah, even with opinionated frameworks like Doom, it takes quite a while to get it to look how you want it to.
@Yas-gs8cm
@Yas-gs8cm Год назад
One great man once said: "Lisp is the crack of software languages... Once you try it, nothing hits as hard".
@SimGunther
@SimGunther Год назад
Best part of its parsing is that the FE of the LISP compiler can be written in an afternoon. The rest becomes.....interesting 😏
@GaryMFOak69
@GaryMFOak69 Год назад
1:54 “circum-size” nice function name!
@jessstuart7495
@jessstuart7495 Год назад
One of the coolest things about lisp (IMHO) is the ease of integrating a custom command language into a project. No need to write your own command interpreter!
@9lQF2r6m
@9lQF2r6m Год назад
Wow I just encountered lisp for the first time while trying to customize an emacs module that runs gnu-apl today. Cool!
@andrisoone
@andrisoone Год назад
Dude that Lisp logo is so cool, never seen that one before.
@marna_li
@marna_li Год назад
Thank you, for exposing us to the wonderful world of programming languages, frameworks, and other computer-related topics. 🙂
@damin1916
@damin1916 Год назад
you finally made a lisp in 100 seconds video!!!!! Nice Job!!!!!
@TheMR-777
@TheMR-777 Год назад
Watching Lisp 100s, while eating Chips for 100Rs. (What a time to be alive!)
@RandomNameName
@RandomNameName 4 месяца назад
I wanted to watch a video about "how to fix a LISP" but i ended here, so 10/10, dont know how to speak correctly but now i know a little about LISP
@RoyRope
@RoyRope Год назад
Came to Lisp trough SICP, it takes some time getting used to all parentheses but it is a very powerful language even now.
@ardavanansari
@ardavanansari Год назад
Love the beautiful logo animations at the beginning of every video!
@protosevn
@protosevn Год назад
You should make one on clojure as well since it´s a modern Lisp and it deviates a little bit from the rest of the family!
@iuc7254
@iuc7254 Год назад
Paul graham would be proud you covered this!
@bobsimpson9228
@bobsimpson9228 Год назад
Clojure is my favorite language I ever wrote. Sadly there isn't a lot of learning content out there.
@evilotis01
@evilotis01 Год назад
my father used to use this to script AutoCAD. he was very fond of telling me that the acronym should have stood for "logic in superfluous parentheses"
@HowardLeeR
@HowardLeeR Год назад
What a terrific channel.
@maxbd2618
@maxbd2618 Год назад
That poem was hella hard bars and nobody's talking about it
@vindarel
@vindarel Год назад
Nitpicks: "a dynamic language": true, but keep in mind that Common Lisp is compiled! *We can create standalone binaries* Moreover, the write-compile-test cycle is extremely short, because we can compile our code function by function and have compilation warnings and errors nearly instantly. We also have an interactive debugger which allows us to resume the computation from anywhere in the stack O_o "dynamic typing": true, but as always with CL it's more complicated. By default, good compilers like SBCL inform us of type mismatches. Unlike barebones Python. We can add type annotations, and we can use the new Coalton library to have Haskell-like types on top of CL O_o To get started, you can use good to very good plugins for VSCode, Atom, Sublime, Jupyter notebooks, and more! In addition of Emacs and Vim, of course. I recommend to look at the CL Cookbook. "format t …" here t means standard output. Using nil would create a string. At the end, you say to run the code with "clisp app.lsp" but we installed the SBCL implementation :) So, just use SBCL. CLISP didn't see updates in a long time, it's good only for getting started. (also, file names are .lisp today) --- Something worth mentioning IMO is that CL is still used by many companies, huge or small, for some it's their secret weapon: Quantum Computing companies, Google (for ITA Software)… see awesome-lisp-companies. And it was sent in space for the NASA in the 80s!! (Remote Agent Experiment)
@freesoftwareextremist8119
@freesoftwareextremist8119 Год назад
clisp is still useful because it supports quite a variety of obscure platforms. But yeah, most people should be using SBCL.
@strange_man
@strange_man Год назад
I wish your videos will be exactly 100 seconds one day.
@lighter7405
@lighter7405 Год назад
Make a long version Lisp tutorial, that would be awesome (for me as a student).
@babypiratesnapchat2
@babypiratesnapchat2 Год назад
I program in LISP (programming language) because I have a lisp (speech impediment I speak with on purpose)!!
@laughingvampire7555
@laughingvampire7555 Год назад
there is a project called roswell, is a tool to set up your common lisp environment, is like rvm/rbenv/nvm/asdf/ruby-install so you can install and manage the different common lisp implementations like sbcl, clisp, clozure, and use it to have scripts in common lisp. CL code is not traditionally stored in text files, is stored in a memory image of the lisp vm, but with roswell you can make scripts stored as text files and run them in bash, with a code editor and the cl plugins you can code in text files and load the code in the lisp vm. the most usage for common lisp is as object oriented programming language, more so than functional, SBCL optimizes a lot based on the classes of CLOS common lisp object system, is how you get the most performance out of it. And the community is heavily focused on the use of CLOS
@coder.d.468
@coder.d.468 Год назад
Amazing content as always. Can you make a video about Abap(SAP) language too? I started learning it 'cause the company I'm working as intern uses it. It would be nice to hearing it from you :)
@TischBacchus021
@TischBacchus021 Год назад
This would be really interesting!
@peterpan6010
@peterpan6010 Год назад
Lol that’s a funny coincidence. My company requested the same and I hate it! Are you also using RAP ?
@kurtmueller2089
@kurtmueller2089 Год назад
As someone who has used SAP a lot, such a video would be demonetized instantly for depicting crimes against humanity
@coder.d.468
@coder.d.468 Год назад
@@peterpan6010 I also hate it. I mainly use c# and Javascript languages for coding. A new language sure hits hard. I have no idea about RAP I hope they are not using it.
@adityaadit2004
@adityaadit2004 Год назад
Thank you AutoCAD for introducing me into this particular programming language
@siljrath
@siljrath 8 месяцев назад
i came looking for your org-mode in 100 seconds. . . . youtube searches dont show it. did i imagine it already exists? org-mode in 100 seconds would be awesome. love your in 100 seconds vids. good stuff.
@yusufmalikul
@yusufmalikul Год назад
Thanks for the quick tutorial. I saw Lisp on every old essay online. I need to learn it now.
@leopavlov7165
@leopavlov7165 6 месяцев назад
This actually looks really good. I won't learn it, but still, I had a thought. If a Lisp dev sees this post, how is/was your expirience with the language?
@dotanuki3371
@dotanuki3371 7 месяцев назад
no, to get started, you install scheme, and get the book "the little schemer". best programming book I've ever read
@a.sorokin
@a.sorokin Год назад
Please make a "Scala in 100 Seconds"
@thewitheredstriker
@thewitheredstriker Год назад
YES please! Scala ftw!
@StephenGillie
@StephenGillie Год назад
Any love for Powershell? It's a JIT scripting language that runs on top of the .NET CLR. It uses a unique Verb-Noun naming scheme for functions, and if you make a function with an unapproved verb, it might throw a warning. Variables begin with dollar signs, like in PHP, and being a scripting language you don't need to declare them. Nor do you need to import modules, unless you're digging very deep into .NET. Speaking of which, all of .NET's libraries are available for use. And then there's the optional type system, used by prepending a variable with the [type] in brackets. As a bonus, all objects are .NET Objects, and most code also works as C# code, so if you really like your script it should be pretty easy to compile.
@maxkratt
@maxkratt Год назад
Nice! Hopefully you'll be able to get around to Haxe sometime :D
@sgkonfetti
@sgkonfetti 10 месяцев назад
Topic suggestion: Forth and Ada
@LeFede
@LeFede Год назад
loved the "Hola Mamá" string
@ElDami
@ElDami Год назад
Chia crytpo currency support for programming using it's blockchain is based on Lisp
@StEvUgnIn
@StEvUgnIn Год назад
Joma started programming with Racket which is a lisp dialect to interplay with modern operating systems.
@lullabyX86
@lullabyX86 Год назад
Fireship managed to make a language from six decades ago look aesthetic
@emik365
@emik365 Год назад
Lisp - Alpha preview version, 1958 Common Lisp - Release Candidate version, 1984 Lisp - version 1.0, code-name CLOJURE, 2007-till today. Programming jobs: highest paying language - Clojure
@0Smile0
@0Smile0 Год назад
you explained python, java, c++ in 100 seconds now THIS is going to be a real challenge
@eliteh4xx0r
@eliteh4xx0r Год назад
That's exactly what I would name a function that returns the radius of a circle.
@davidbarnhouse4642
@davidbarnhouse4642 Год назад
Not me searching "lisp fireship" a few days ago.
@jack002tuber
@jack002tuber Год назад
Did he mention that this language kicks butt with numbers and math? If you wanted to know what 100! is (100 factorial) LISP says I can do that. If you want to study repeating decimals when they repeat at huge rates, LISP says I can do that. Look for CLISP online, that's the version I have used. It works. If you can stand all the ()s you'll love it.
@shegsdev
@shegsdev Год назад
Concise and clean
@engelshernandez5898
@engelshernandez5898 Год назад
I came to your channel yesterday looking for this video. Thanks!
@laughingvampire7555
@laughingvampire7555 Год назад
scheme is older than common lisp. ruby was inspired by emacs lisp javascript was inspired by scheme clojure was indeed mostly influenced by common lisp
@brunocunhaselistre9617
@brunocunhaselistre9617 Год назад
I still have nightmares from learning lisp on my CS degree
@mattreichmann8118
@mattreichmann8118 Год назад
THANK YOU I'VE BEEN WAITING FOR THISSS
@raunakmitra7868
@raunakmitra7868 Год назад
The mapchar at 2:12 has apparently inspired map() in Python🔥
@not_herobrine3752
@not_herobrine3752 Год назад
the joke where the last couple of gigabytes of a lisp program being used by some corporation getting wiped out not doing any damage because the deleted parts were simply right brackets is funny
@Ralph_Schumacher
@Ralph_Schumacher Год назад
You made a good job, THANKS!
@Costelad
@Costelad Год назад
Yes mate, some of suggested this years ago. AWK so it’s not awkward
@purposepowerlove
@purposepowerlove Год назад
This made me once again mourn the fact that I can't use Clojure in my day job.
@yan2410
@yan2410 Год назад
Thank's man, you finally did it
@thomas6502
@thomas6502 Год назад
In the daily grind its easy to forget that we stand on the shoulders of giants.
@a.j.javier8119
@a.j.javier8119 Год назад
Thanks! One more programming language to my resume!
@illegalsmirf
@illegalsmirf Год назад
Lol!
@the-old-channel
@the-old-channel Год назад
Can you cover AceBase? It looks really promising. I think it deserves more attention
@Blockitjames
@Blockitjames Год назад
FORTRAN: exists and everyone loves it Lisp: "am I a joke to you?"
@alifrizki9845
@alifrizki9845 Год назад
you forget to mention the legendary sicp book.
@jeankhoury
@jeankhoury Год назад
Why I have a homework this week about lisp and I never understood where lisp name came from... This unblocked me... now it make sense
@PWRR
@PWRR Год назад
(Lost In Stupid Parenthesis (List Processing))
@yoshiyahoo1552
@yoshiyahoo1552 Год назад
I’m glad rust has some powerful macro features like lisp.
@Nodsaibot
@Nodsaibot Год назад
programmable programing language, thats exactly what is is ;)
@HeyyDixit
@HeyyDixit Год назад
You are the best who explains in 100s, please keep making 100s explain videos
Далее
Godot in 100 Seconds
2:40
Просмотров 1 млн
Développement في تونس
5:55
Просмотров 13 тыс.
Why LISP Is The Language of Legends
9:05
Просмотров 34 тыс.
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
AI can't cross this line and we don't know why.
24:07
Просмотров 714 тыс.
Lets LISP like it's 1959
48:01
Просмотров 81 тыс.
Uncle Bob LOVES Functional Programming | Prime Reacts
22:59
FORTRAN in 100 Seconds
2:39
Просмотров 1,3 млн
Hack your brain with Obsidian.md
11:53
Просмотров 1,9 млн
I tried 10 code editors
10:28
Просмотров 3 млн