News for hackers. Stuff that matters.
Re:Existential crisis at Railsconf by davidann on Wednesday April 22, 2015 @10:21AM (#9420590)
Could you reference examples of this assertion please?
Re:Existential crisis at Railsconf by danneu on Wednesday April 22, 2015 @02:39PM (#9422576)
I think it's pretty uncontroversial to suggest that Clojure is more expressive than Ruby - without even getting into macros.

Just take run of the mill Ruby code and convert it to Clojure. Especially anything that looks like functional programming.

Re:Existential crisis at Railsconf by kyllo on Wednesday April 22, 2015 @11:42AM (#9421216)
I think the biggest reason would be Clojure's macro system. The code itself is an abstract syntax tree that you can rewrite in arbitrary fashion at macro expansion time. There's a good example here of how Clojure's macros are more powerful/expressive than Ruby's instance_eval and class_eval: http://daveyarwood.github.io/2014/07/09/whys-guide-to-ruby-i...

And here's an attempt to objectively rank programming languages by expressiveness, measured as lines of code changed per commit: http://redmonk.com/dberkholz/2013/03/25/programming-language...

Re:Existential crisis at Railsconf by akmiller on Wednesday April 22, 2015 @11:42AM (#9421218)
Not sure what examples the author was thinking of but functional lisps tend to be extremely expressive just because of their nature. If there is expressiveness you are missing the language can be molded in ways that are simply not possible in non-homoiconic languages.
Re:Existential crisis at Railsconf by davexunit on Wednesday April 22, 2015 @12:03PM (#9421380)
Easy. Ruby doesn't support syntactic abstraction via macros. No, 'eval' doesn't count.