Giter Site home page Giter Site logo

Comments (3)

scope2229 avatar scope2229 commented on September 18, 2024 1

I would like to second this option as the original author commented.

from rbs.

rlogwood avatar rlogwood commented on September 18, 2024 1

My interest in Ruby type checking is new and I've reviewed the helpful blog post cited in this thread as well as the RBS README and Sorbet Type Annotations. To share an opinion - I like the simplicity of the Python type hints and was looking for something similar for Ruby. The closest thing I've found so far is the RubyMine support for YARD documentation tags that provide intellisense hints, RubyMine Document code (with @param, @type @return. I love the power and backward compatibility considerations of the more complete solutions. IMHO there is also a great advantage in having optional type annotations in the source for quick discovery, change (and hopefully, intellisense support). I'm a fan of using static type checking in a fast way when needed and along with dynamic features. I wonder if there is any interest in an inline version of RBS. For new code I'd rather have a single file than have to maintain two.

from rbs.

mucaho avatar mucaho commented on September 18, 2024

I wonder if there is any interest in an inline version of RBS. For new code I'd rather have a single file than have to maintain two.

There are 3rd party solutions for now only as far as I'm aware, like sord and yard2steep.

from rbs.

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.