Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ruby does have operator overloading.

And it is kind of sad to me that Python is so much more popular than it, even though Ruby has a much cleaner object-oriented foundation. Not to speak of underscores...



Ruby is arguably more OOP than Python, but I'd claim that doesn't help much in the scientific programming / machine learning use case. It might even hurt a little.

This kind of code is naturally expressed in "functions and data" rather than "objects" (data being vectors, matrices, etc.).

And I say this as someone who uses objects in most of my code! (which is not scientific code)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: