Earlier in my career we moved to Ruby over PHP because Ruby was "cool" and PHP was not. Now it is interesting to see them lumped in the same group. Incidentally, PHP has improved greatly because of the rivalry with Ruby because the competition inspired PHP and PHP Frameworks to step up their game in the early 2000s / 2010s. Python's continued popularity surprises me. While I like Python and it is good for data scienc…
> While I like Python and it is good for data science I don't understand why people use it for websites. This is the reason, actually. Python is NOT ONLY GOOD FOR WEBSITES. In fact, the only thing that have stopped python for total global domination is to be poor for mobile apps. Do not underestimate the power of make a "full stack development" with just one language.
PHP, Ruby, Node.js all have excellent tooling for making command line applications as well as websites. While none of them have focused much on having a GUI, projects do exist.
Ruby in particular is very widely used as a system automation language.