Why Python is Better than Ruby

Publicado el: 01 junio 2014
en el canal de: Techy Help
5,215
like

Do you know why Python is better than Ruby?

Ruby on Rails is popular because the language and framework are nearly synonymous, so you do not have to worry about which framework someone is using. This improves programmer productivity.

That's why Ruby on Rails is preferred in Silicon Valley.

That's why it was hot in Silicon Valley in the 2000s. However, Ruby lacks the scalability of Python, which is why sites like Twitter and Groupon had to move off it once they got big.

I suppose that's an indictment of Ruby. It is great to make a cute app, but it isn't what works when you hit it big.

Python is better for scientific computing and numeric computing. Ruby is better for little apps that really don't matter.

Which language do you consider more reliable?

Over the longer term, Python. It is more mainstream, not a flash in the pan, so you won't have to rewrite something in Python to a new language in ten years.

There are nuclear missile controls still running on Fortran and Basic.

That is not an argument against my low opinion of Ruby. That's like saying because Lisp has been around for fifty years, it should still be around in fifty more.

Ruby gets points for being more terse.

It also has odd semantic that makes it hard for anyone not familiar with Ruby to figure out. Other languages are easier for someone to figure out what the code is supposed to do.

That's what documentation is for.

Python has infinitely better documentation than Ruby. And you're more likely to figure out what the programmer who left your business to join a start up was trying to do if he wrote it in Python.

Ruby is popular in a lot of computer science programs.

And Python has more resources for development and testing than Ruby. I don't care if the programmer hot off the diploma mill knows Ruby, Python has the solid tools serious developers use to debug, develop and design new code.


En esta página del sitio puede ver el video en línea Why Python is Better than Ruby de Duración hora minuto segunda en buena calidad , que subió el usuario Techy Help 01 junio 2014, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 5,215 veces y le gustó like a los espectadores. Disfruta viendo!