Re:"I couldn't really learn Erlang, 'cos it didn't exist, so...
by davidw on Thursday January 24, 2013 @09:26AM
(#5109634)
> learning Ruby has no added value if you already know those.
Maybe learning it just as a learning exercise is not so valuable, but Ruby is fantastically useful at getting shit done in the real world with a language that's pretty good. For instance, try and do this in standard Erlang:
stdout_str, stderr_str, status = Open3.capture3(command)
You can't. I've been complaining about it since 2004, others have sent patches, and you still can't easily handle stderr and stdout as separate streams with open_port.
Maybe learning it just as a learning exercise is not so valuable, but Ruby is fantastically useful at getting shit done in the real world with a language that's pretty good. For instance, try and do this in standard Erlang:
You can't. I've been complaining about it since 2004, others have sent patches, and you still can't easily handle stderr and stdout as separate streams with open_port.