3 ms·
Yes, but I've found it to be rather cumbersome compared to ruby and under utilized. The standard library doesn't seem to make much of an attempt to pass around
by epochwolf 16y ago
Yes, but I've found it to be rather cumbersome compared to ruby and under utilized. The standard library doesn't seem to make much of an attempt to pass around functions whereas in ruby you are often using code blocks to replace loops.
Ruby's ability to hijack the scope of a given block via class_eval is amazingly useful in creating DSLs. Creating DSLs in ruby is trivial. The router for Rails 3 is a perfect example of this. Python makes this far more difficult.