3 ms·
I quite enjoyed learning Scheme at university. Coming from OOP, I loved when it just clicked and you began to look for opportunities to use higher order functio
by allendoerfer 11y ago
I quite enjoyed learning Scheme at university. Coming from OOP, I loved when it just clicked and you began to look for opportunities to use higher order functions. I never actually used Lisp, so I might try that one with a small project.
For what type of web project could Common Lisp be a good fit? It should probably have something to do with huge lists of data that have to be processed, so that you can map, filter and fold them. The data should be relatively simple to obtain, too, so that the missing libraries are not that huge of a problem.
- chaoky 11y agoGood Common Lisp doesn't use lists. A Lisp app does nothing like processing lists; in fact, Common Lisp only uses list-processing for processing source-code (aka macros). It is much more like a faster, more functional Ruby or Python in that it uses classes, looping, but encouraging good functional abstractions. Real-world Common Lisp looks nothing like scheme.
- allendoerfer 11y agoSo what would be a good example use case in your mind?
- martinflack 11y agoCL is a powerful general purpose language in which you can accomplish much the same things as other programming languages. Where it will really shine is when you benefit from extending the language or environment to suit a domain and then you solve problems of that domain. Try this as an explanation (and keep reading the book): http://www.gigamonkeys.com/book/introduction-why-lisp.html http://www.gigamonkeys.com/book/introduction-why-lisp.html