by jokoon · 11y ago · 0 comments
from https://www.python.org/dev/peps/pep-0020/ :
> There should be one-- and preferably only one --obvious way to do it.
I don't know if common lisp is an "easier" lisp, but I sure would like to have a watered down version of lisp so I can learn its paradigms. I don't even know if that's what haskell is.
Python is designed to be human readable.
Here's an old blog post by me, which may be hard to jump into because its part of a longer conversation on proggit or something, but anyway: http://williamedwardscoder.tumblr.com/post/18319031919/progr...
Python has more syntax to remember than in Lisp, but ends up being a lot more readable (eg lists, dicts etc)
Clojure does them right, imho.
Otherwise, I worked through SICP a couple years back, and I found it invaluable to getting familiar with Lisps and functional programming in general.
I remember sitting down one day (before working through SICP) and saying, "I'm great at PHP, I'll probably just be able to write a Clojure project off the top of my head!" Cue clown music as I beat my head against a language much more expressive than anything I'd encountered to date.
It was a few solid weeks of effort before I could get anywhere, but I remember remarking at the time, "if I can learn this well enough, I'll be a wizard!"
Close match to the Python above:
(apply + (range 1 11))
Beginners probably are better of using scheme or racket.
Common Lisp does not force you to use FORMAT. It has a bunch of simpler IO functions, too.