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:
-
-
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 threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Maybe the core issue is that you're using the wrong programming language
-
But the cost of rewrite and retrain can be very high, so this project definitely adds value to some companies.
End of conversation
New conversation -
-
-
I can't imagine a bug that typing would find and tests wouldn't. If your tests pass when you provide an email where a user object should be, they're very bad (or very lacking). Any test that goes through that code should crash when it tries to extract the email from the user
-
The difference is you have to write the test. Now do it 10000 times consistently and usefully.
- 5 more replies
New conversation -
-
-
Can you show one of these tests? I want to see what feature(s) of the type system you're referring to. Thanks :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This observation about unit tests and type checking is why I’ve kept programming in Java for so long, rather than Ruby and Python.
-
But Java 11 also have 'var' smh
End of conversation
New conversation -
-
-
Ahh!!! Java programmers coding in JavaScript. Smh
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
You've basically described much of my unit tests.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.