4 ms·
when I was mostly doing ruby, with the occasional foray into python, I would have agreed with you. but having gotten a python day job and using it as my primary
by zem 4y ago
when I was mostly doing ruby, with the occasional foray into python, I would have agreed with you. but having gotten a python day job and using it as my primary language for the past several years, I think there are features that python got right and ruby did not, as well as vice versa of course. the top one is the way the two languages handle modules and namespaces (ruby lets you reopen modules, which is nice, but python lets you easily see at the call site whether you are calling a function from an imported file, which is amazing for large projects), but I also miss introspectable doc strings, and syntactic support for type annotations (which are also introspectable at runtime!) when I'm writing ruby these days.