3 ms·
I would have to say the Dr Racket lisp tutorial ... https://docs.racket-lang.org/quick/ https://docs.racket-lang.org/quick/ For anyone who already programs I c
by Exuma 7y ago
I would have to say the Dr Racket lisp tutorial ... https://docs.racket-lang.org/quick/ https://docs.racket-lang.org/quick/
For anyone who already programs I can't recommend this enough. See it as a 1 hour vacation into alice in wonderland. I don't see myself ever using lisp, but after using an imperative language for a long time and having it become second nature, I found it quite a fun mental leap to learn functional programming. Well lisp is basically a similar mental stretch... you can get a taste of it in only 10 bullet points (in the link). it will take you only 1-2 hours. I found it wildly refreshing, enlightening... any time you see paradigms youre used to for 10+ years done a different way there are so many "ah-ha" moments its like firecrackers going off.
The part that is very cool, is that in lisp there are no statements, only expressions. So the 'physical limitiation' of writing code almost feels like theres no rules, such that it just flows effortlessly. Like in English, you can't end a sentence with a preposition (like a statement, you cant put an if statement in the middle of the expression 1 + 1). But in lisp, there are no rules like that.
It's super fun to bend your mind in new ways even if you dont use it. I highly recommend it, it was really a fun day doing that tutorial.