News for hackers. Stuff that matters.
Re:Pyre: Fast Type Checking for Python by ksec on Friday May 11, 2018 @03:29PM (#17050195)
>Python is never the best language at anything. But it's a damn good language at most things. It's an invaluable powerful versatile toolbox because it gives you the margin to adopt the style that fits your problem instead of forcing one on you.

I think this so much. What the best programming languages for me isn't necessarily the best at anything, and shouldn't be at all. But it should be 80% of everything the best. And that in itself is possibly even harder to achieve.

I really wish Ruby was the case here. But clearly Python is taking this title.

Re:Pyre: Fast Type Checking for Python by dnautics on Friday May 11, 2018 @06:07PM (#17051081)
I think the dominant reason why ruby lost out was because python won the educational market; there was something seductive about forcing children to use good indentation. The final blow came when the difficult 1.8.5 -> 2.0 transition made the act of installing ruby a challenge, of course this happened to python not too long after with the 2.7 -> 3 transition.
Re:Pyre: Fast Type Checking for Python by BeetleB on Friday May 11, 2018 @06:59PM (#17051324)
Frankly, Ruby lost due to the lack of libraries compared to Python. The latter had a few years of head start.

Anecdotally, I've heard the syntax may have been the cause. In those early days, Ruby was too much like Perl. If you didn't like Perl's syntax and philosophy, Python was a good alternative. If you were the type of person who grokked Perl, then why go to Ruby when you have all of CPAN at your disposal?

Re:Pyre: Fast Type Checking for Python by sametmax on Saturday May 12, 2018 @07:02AM (#17053473)
Precisely. Ruby was such a hit with rails they never bothered creating an ecosystem outside of the web.

JS doesn't have this problem because it has the terribly unfair advantage of a monopoly of the most popular platform in the world.

But Ruby did not, the server was open too all. And so when competition arrived on the backend, people chose a language that you could use for the web and something else.

Re:Pyre: Fast Type Checking for Python by msie on Friday May 11, 2018 @04:56PM (#17050736)
If only Ruby had as strong an ecosystem as Python. But right now it's Rails 95% of the time and the documentation sucks most of the time.
Re:Pyre: Fast Type Checking for Python by goatlover on Friday May 11, 2018 @05:37PM (#17050963)
I hate that Rails came to dominate the Ruby language in most people's minds. It's such a nice dynamic language on it's own that you can use anywhere you use Python (if the libraries exist for it).

And there were minimal frameworks like Sinatra when everyone was running to Node to use Express because of Rails, ignoring that Rails wasn't the only Ruby game in town.

Re:Pyre: Fast Type Checking for Python by thethirdone on Friday May 11, 2018 @06:34PM (#17051208)
IIRC, Express was actually originally based on Sinatra.

When I was doing a ruby server stuff I was using Sinatra and when I switched to JS (for various reasons) I looked specifically for Sinatra like libraries and found Express.