3 ms·
RDBMS - CLSQL it does everything. NoSQL - Whatever you want. Cl-mongo exists. There's even CLOS object stores for when you really want object persistence. REST
by sbryant 15y ago
RDBMS - CLSQL it does everything.
NoSQL - Whatever you want. Cl-mongo exists. There's even CLOS object stores for when you really want object persistence.
REST - This isn't really a language thing.
Web- UnCommon Web, Huchentoot, Weblocks. You can even write your javascript in parenscript and be lisp all the way down.
If you want to know how LISP can do all of this and more please read Practical Common Lisp. http://www.gigamonkeys.com/book/ http://www.gigamonkeys.com/book/
Just keep in mind that the book is a few years old now.
I would also like to ask why you think it's not possible to do any of the things you've asked of in any language?
- hello_moto 15y agoIt's possible to do everything I asked in many other languages. But my question was specifically: how can I do all of those and at the same time write in less code. If I have to roll my own framework or library (lightweight or not) wouldn't that count as writing more code than I have to?
- sbryant 15y agoLet me rephrase the question. Why do you believe you have to roll your own frameworks for everything? I just presented you with a couple of frameworks geared towards web development. There are NoSQL solutions as well. Couch, Mongo, Redis whatever. Writing your own bindings shouldn't be too difficult either.
- bitcracker 15y ago> how can I do all of those and at the same time write in > less code. It's not about writing the same algorithms in less code but about the way you design them. When you write Lisp code the same way as say Java or C++ then it's likely that you won't have less code. Lisp changed the way how I write programs. THAT makes the difference. For instance, in Java or C++ I write a loop to apply a function on a data collection. In Lisp I just use a map function for those elements. In Lisp it's very usual to use macros to shorten code. These macros have NOTHING to do with the harmful C++ macro system. They are just functions to create well structured code. Python copied list comprehensions from Lisp. This is a good example how a Lisp fesature makes code way shorter.