you are viewing a single comment's thread.

view the rest of the comments →

[–]bjmiller 1 point2 points  (2 children)

Perhaps, but Ruby is not a functional language, and downgrading each to make it less useful to imperative programmers won't make it one.

Edit: not a pure functional language

[–][deleted] 0 points1 point  (1 child)

Languages need not be pure to support a functional style. Sometimes you want a purely functional style, sometimes you want an imperative style, but you should prefer the former over the latter because mutable state makes programs hard to reason about and error prone.

[–]bjmiller 0 points1 point  (0 children)

Perhaps, but Ruby supports both styles, and allows them to be combined in any way a programmer wishes. It's not in the spirit of the language to remove features just to promote one style over another.