3 ms·
It'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
by hello_moto 15y ago
It'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.