Added: 6 months ago
From: inzanozulu
Views: 1,405
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • How would one define a predicate, say SYMBOLP or EVENP?

  • Functions are FUN! LOL

  • WOW, all that just to declare two variables and add them, LOL! It's amazing how simplistic Python's syntax is compared to most languages. . .Anyways, I'm not complaining, just an observation. And THANKS for this great tutorial. I hope you keep 'em coming, cause I want to learn LISP next. . .

  • @Colstonewall Haha, in most lisp languages a common trait is that you avoid using variables as often as possible, and the relative uglyness of a 'let' kind of forces you to do so, or at least, I feel that way.

    Google Python for Lisp Programmers by Peter Norvig, it's a pretty interesting read, even if not -completely- accurate.

  • @Colstonewall Technically, what you mean is that common lisp has complex semantics, and a simple syntax. Python is the other way around.

  • @Colstonewall actually its not that simple. Python cannot do let, or to be more precise cannot do local variables outside a function. Let defines a local variable without the need of let being inside a function definition. Python cannot do a ton of things that lisp can and that is why its so easy to learn and use it, but then its also nowhere near as powerful. And of course lisp does not stop you from doing python kind of syntax, there is clPython. Anything in lisp can be modified.

  • now I can read it lol

    thank you very much

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more