Stripe has open sourced Sorbet, our Ruby type checker: https://sorbet.org/blog/2019/06/20/open-sourcing-sorbet … I will probably adopt this in all future Ruby projects. Here’s why:
-
-
Two, optional type checking lets you continue using, or drop into using, untyped code in places where you’re just doing trivial string munging and where typechecking generally provides relatively little value. (Thin controllers and views, in my experience, don’t need much.)
Show this thread -
Type checking catches bugs that unit testing does not, often much faster and with less code overhead than unit testing requires. It has surprised me how much of my unit tests were de facto implementing a type system halfheartedly as opposed to testing behavior of those types.
Show this thread -
My enthusiasm for this project is extremely high; it’s perceptibly the best upgrade to writing Ruby code I’ve experienced since starting with Ruby in 2008. We are quite invested in Ruby. If you’d also like working on this:https://stripe.com/jobs
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.