4 ms·
My point was specifically in regard to the feasibility of omitting the types in all cases. I see types often in Haskell code, likely because the community regar
by kibwen 11y ago
My point was specifically in regard to the feasibility of omitting the types in all cases. I see types often in Haskell code, likely because the community regards that as a best practice (in contrast to Crystal).
- tel 11y agoBest practice and it's required to make certain more advanced type features work. It's the same with Crystal. Their generics require type annotations.
- Vulume 11y agoIn Haskell types are used a lot as documentation and to make static guarantees about the program logic, not just runtime safety. If you're only worrying about illegal operations you practically don't need signatures.