News for hackers. Stuff that matters.
Re:The original Javascript impl was written in Lisp by hello_moto on Saturday November 26, 2011 @11:12AM (#3280034)
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?

Re:The original Javascript impl was written in Lisp by bitcracker on Saturday November 26, 2011 @12:05PM (#3280168)
> 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.

Re:The original Javascript impl was written in Lisp by sbryant on Saturday November 26, 2011 @11:17AM (#3280047)
Let 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.