Code Monkey home page Code Monkey logo

Comments (4)

vinistock avatar vinistock commented on May 29, 2024 3

Our default is to use Sorbet in all projects unless there's a good reason not to. It provides better safety with a super short feedback loop, better editor support among other things.

Initially, I was pushing back on adding it because I had two concerns:

  1. It felt a bit odd to me to have the sorbet-runtime as a dependency of this gem
  2. I thought it'd be beneficial to have people experience the Ruby LSP on its own when working on it, without the Sorbet LSP, to find gaps in the experience more easily. Adding Sorbet means that some LSP functionality will start working, despite it not being implemented in the Ruby LSP (which we may want to do)

However, I believe the advantages are greater than these two. Because the Ruby LSP is used as a standalone executable, the addition of sorbet-runtime as a dependency is not really a problem. Also, using the Ruby LSP + the Sorbet LSP together is the experience we recommend, so it actually makes sense for us to test both together.

from ruby-lsp.

egiurleo avatar egiurleo commented on May 29, 2024

@vinistock How did we decide to add Sorbet? (To be clear, I'm all for it, just curious what factors went into the decision.)

from ruby-lsp.

egiurleo avatar egiurleo commented on May 29, 2024

Awesome, thank you!

from ruby-lsp.

Morriar avatar Morriar commented on May 29, 2024

Let's close this since we already decided to add it: #119.

from ruby-lsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.