Y
Hacker News
new
|
ask
|
show
|
jobs
by
oomkiller
2120 days ago
Sorbet looks really cool, too bad they developed their own typing system that keeps types in a totally separate file instead of adopting it.
3 comments
jamesgeck0
2120 days ago
Sorbet was developed before the details of the new Ruby type system were locked in. They’re working on providing some convergence in upcoming releases.
link
tomc1985
2120 days ago
The 'separate' file is to avoid breaking backwards compatibility and avoiding a Python2/3 fiasco
link
virtue3
2119 days ago
Also see coffeescript, etc.
link
Lio
2120 days ago
Sorbet will be compatible with the new file format. We’ll still be able to use the inline Sorbet type signatures.
My personal hope is that typing can be included in test/spec files.
link