Hacker News new | ask | show | jobs
by sunkencity 6057 days ago
One of the amazing things in rails compared to many other frameworks is that the methods are all so forgiving, very neatly written multimethods: it doesn't matter if you enter a number,a string, an array or a hash, rails will be able to use the arguments properly.

With lisp/macros you can have similar power but with structure and logic.

Look at the difference between ERB templates and the beautiful templating language in compojure for example. It really kicks the llamas ass.

1 comments

One of Clojure's nicest features is the seq abstraction, which lets you use almost all the data structures, from a String to a JDBC ResultSet, with a first/rest (aka car/cdr) interface.