Hacker News new | ask | show | jobs
by danso 3636 days ago
I was a Rails dev for a few years and have now moved to Python, but only because I now do more data analysis and little web dev.

You're not missing much...in terms of practical benefits, you're missing out on putting Rails on your resume. In terms of programming experience...you're missing out on the meta-programming and fun monkey-patching that Ruby's syntax invites. And multi-line lambdas.

As someone who loves Ruby, I could not argue that learning Ruby is an optimal use of time for the Python programmer...you'd be better off focusing on something lower level, like Rust, or highly differentiated in paradigm, such as Elixir. FWIW, a notable number of well-known Ruby devs have left the fertile life of Rails dev to pursue those two languages.

1 comments

You basically have multi-line lambdas in Python, it's just not anonymous anymore -- you can define function bar inside of function foo and then pass it to another function or return it from foo. I've used this to make a function that builds functions for you.