Re:No future for functional programming in 2008
by binarykeats on Monday January 21, 2008 @11:49AM
(#101621)
The joke is that he implies the languages' FP orentation causes them to have clunky ways to define classes. Ruby is a good counter to that argument. It has one of the cleanest class-defining syntaxes out there. And you can actually write your own functions that behave like "attr_accessor", making your class definitions even more readable.
Guess how you do it? A combination of metaprogramming and closures.
Guess how you do it? A combination of metaprogramming and closures.