SaaSHub helps you find the best software and product alternatives Learn more →
Top 7 Ruby sorbet Projects
-
> I guess what I'm asking is: do you see a future where there is more explicit control afforded to people who want to pick their own tradeoffs without resorting to writing everything performance-sensitive in extensions written in C/Rust/whatever?
An approach exists already in the present, and it's Stripe's Sorbet AOT compiler (https://github.com/sorbet/sorbet/tree/master/compiler).
-
There are solutions like sorbet[^1] and sorbet-rails[^2]. Have you tried them?
[^1]: https://sorbet.org/
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
Project mention: Can text editors detect undefined variables in Ruby? | reddit.com/r/ruby | 2023-01-24
Sorbet can do this, as long as you have type signatures for your code. Given Ruby's highly dynamic nature that's where tools like Tapioca come in to generate these, for example for Active Record models where instance methods are generated based on the database schema. But the moment when something returns T.untyped you're back where you were before - it helps but isn't perfect.
-
The tooling around "installing" types for third party dependencies (the equivalent of doing "npm install @types/something" is non existent. I had to manually copy over files from https://github.com/sorbet/sorbet-typed, which is so far behind pythons and typescript, where you can just "pip install"/"npm install" the types. Not only that, most third party dependencies don't provide types, so the "coverage" is super incomplete. I had to try and create some third party types myself, bit even that was a challenge because it's so hard to be sure of the entirety of what's going on in a ruby codebase because the language is dynamic.
-
I tend to follow along using the YardDoc comment style. It has many small things I love about it; an example is when yardoc is followed it can be used to generate RBS/Sorbet type files with the sord gem, you can also generate application documents similar to rdoc/sdoc.
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Ruby sorbet related posts
- Can text editors detect undefined variables in Ruby?
- ABEND dump #2
- Shopify makes new web server Pitchfork based on Unicorn that forks a warmed up Ruby VM to service requests
- Sometimes, it's the other way around
- What's New in Python 3.11?
- Why We’re Sticking with Ruby on Rails at GitLab
-
steep VS sorbet - a user suggested alternative
2 projects | 17 Apr 2022
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f160d0098d8>
www.saashub.com | 27 Mar 2023
Index
What are some of the best open-source sorbet projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | sorbet | 3,398 |
2 | sorbet-rails | 627 |
3 | tapioca | 499 |
4 | sorbet-typed | 369 |
5 | sord | 244 |
6 | parlour | 80 |
7 | rspec-sorbet | 30 |