3 ms·
Ruby can be used the same way as perl when building commandline tools that use repl and regex. ($~,$1,$2, etc.) You can also add new methods to classes and you
by nurettin 10y ago
Ruby can be used the same way as perl when building commandline tools that use repl and regex. ($~,$1,$2, etc.)
You can also add new methods to classes and you can override callbacks such as method_missing to respond to method calls at runtime.
You also have a choice between lazy and non-lazy versions of map/reduce/select.
You also have a rust interface to create gems that run native code.
You also get an extensible build tool called rake.
You also get RoR5 if you enjoy that kind of thing.
- steveklabnik 10y agoYou can write Rust extensions to Python as well, though the higher-level interfaces aren't quite as far along in Python yet. There was a talk about it at PyCon last year.
- nurettin 10y agoAh, I actually forgot about the rust-cpython package. The project is alive and it works with python3, too. That brings me to another point I want to make. There is no community-breaking divide between ruby versions. People usually pretty easily port their 1.9 gems to newer 2.x APIs without breaking much.