Live data from Hacker News

Open-sourcing the Sorbet VS Code Extension

sorbet.org

31–40 of 88 posts

Re: Open-sourcing the Sorbet VS Code Extension

#32
post #31
post #2

Happy to answer any questions about Sorbet, the VS Code extension, or anything else you're curious about!

Is there official support for Sublime Text 3? I tried making it work a while ago and it wasn't easy to get it running.

We don't have anything custom on our end, but Sorbet implements the Language Server Protocol which it looks like Sublime Text 3 supports:

https://lsp.sublimetext.io/language_servers/#sorbet

These docs seem to even already have a snippet you should be able to add to your config to integrate Sorbet with Sublime Text 3.

Re: Open-sourcing the Sorbet VS Code Extension

#33
post #28

It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.

Oh wow. they still use Ruby at Airbnb? For some Reason I thought they'd moved to Go or the JVM.

I don't know about go (some cursory googling reveals a few open source projects, but nothing concrete) but you might be mistaking their work on Android libs for moving their backends to the JVM. For reference, their style guides are for JS and Ruby only so far.

Re: Open-sourcing the Sorbet VS Code Extension

#34

Earlier quoted context omitted.

Why the push towards Java for new services?

Speculating but aside from the enterprise ecosystem advantages it's hard as hell to hire senior ruby devs.

Really? The Ruby ecosystem has been around a long time (Rails itself has been around for over 17 years!), so I'm surprised to hear there is any difficulty hiring highly experienced Ruby professionals.

Re: Open-sourcing the Sorbet VS Code Extension

#35
post #28

It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.

Isn't this more of a reflection of when these companies originally developed their platforms? Similar to Facebook and their use of PHP.

It would be interesting to see in a few years what the next successful unicorns are building with today.

Re: Open-sourcing the Sorbet VS Code Extension

#36
post #28

It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.

Stripe is actively moving away from Ruby to Java. All new services must be written in Java

Re: Open-sourcing the Sorbet VS Code Extension

#37
post #28

It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.

The same argument can be made of PHP, COBOL, or even FORTRAN.

None of this is changing the fact that Ruby has been on a sharp decline for a decade now and it's probably never coming back.

My personal interpretation: Ruby is extremely slow, dynamically typed, and RoR hasn't kept up with the web innovations of the past decade.

Re: Open-sourcing the Sorbet VS Code Extension

#38
post #2

Happy to answer any questions about Sorbet, the VS Code extension, or anything else you're curious about!

Two questions (sorry if that's too much):

1. Sorbet isn't really great to use with Rails. I tried it out about a year ago - a few things might've changed but from scanning the relevant gems I think this broadly still applies. I used sorbet-rails but there were still a bunch of rough edges, eg. with using a class method on a model as a scope. The general theme was that Rails was doing quite a few things that make it super hard to type. ex - look at what it takes to do a type-safe pluck with sorbet-rails, and I don't think doing a typesafe select with association columns is even supported. Is there any acknowledgement of this from the Sorbet team itself, and will there be more to make the Sorbet with Rails experience better?

2. I'm really excited for the future of the Sorbet compiler. Like above, is there any work on making the AOT compiler work better with Rails?

Re: Open-sourcing the Sorbet VS Code Extension

#39
post #36
post #28

It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.

Stripe is actively moving away from Ruby to Java. All new services must be written in Java

How/why did you land on Java for all new services?

Re: Open-sourcing the Sorbet VS Code Extension

#40

Earlier quoted context omitted.

Speculating but aside from the enterprise ecosystem advantages it's hard as hell to hire senior ruby devs.

Really? The Ruby ecosystem has been around a long time (Rails itself has been around for over 17 years!), so I'm surprised to hear there is any difficulty hiring highly experienced Ruby professionals.

It just isn't the language that people learn as their first language (via college or bootcamps). Plus it's not a gaming, data or machine learning language so it's not the kind of language that people come to from some other motivation. So I would say it hasn't had great organic growth for 5-7 years. That's practically a generation of programmers at this point.

I think all the big shops have most senior ruby devs locked up. If one has any meaningful rails and ruby experience under their belt they can stick their thumb out and land a job immediately.

Post reply on HN