Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type annotations to the gem #96

Open
mvgijssel opened this issue Jul 9, 2019 · 0 comments
Open

Add type annotations to the gem #96

mvgijssel opened this issue Jul 9, 2019 · 0 comments
Labels
enhancement New feature or request
Projects
Milestone

Comments

@mvgijssel
Copy link
Owner

Sorbet allow for static (and runtime) analysis of Ruby code by adding type annotations. This can be leveraged to get rid of a lot of switch statements like:

case some_var
when 1
else
  boom "some execption"
end

The Sorbet runtime consistently warns when an unexpected branch is reached.

@mvgijssel mvgijssel added the enhancement New feature or request label Jul 9, 2019
@mvgijssel mvgijssel added this to the 1.0.0 milestone Jul 9, 2019
@mvgijssel mvgijssel added this to To do in testing via automation Jul 9, 2019
@mvgijssel mvgijssel moved this from To do to In progress in testing Jul 9, 2019
@Willianvdv Willianvdv removed their assignment Oct 17, 2019
@Willianvdv Willianvdv moved this from In progress to To do in testing Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
testing
  
To do
Development

Successfully merging a pull request may close this issue.

2 participants