Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't gradual type system mean something else here? As in developers being able to iteratively add types while leaving untyped parts for later? At least this is how Ruby's Sorbet describes it


Yes, but the discussion here was about it being a gradual, gradual type system, as in, the gradual type system being added gradually


You’re right about what a gradual type system means! A gradual type system allows flexibility in how you approach typing a codebase. It also means that your system incorporates a dynamic type, making your types 'gradual'.

Interestingly, gradual set-theoretic types are flexible enough to let you gradually implement type inference for that system. Hence, the gradual gradual type system. :-)


Correct, a gradual type system is a form of type system and not the method for rolling it out.


It's a gradual type system that they're rolling out gradually.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: