Re:Types are the basic tool of software design
by titanomachy on Friday January 03, 2025 @01:22PM
(#42588126)
I think Scala has a good compromise here, where all function signatures require explicit types and (almost) everything else can be inferred. Maybe F# does the same? I find that this is enough "anchoring" to allow for sensible error messages most of the time, although occasionally I'll sprinkle in more annotations if the inferred types would be particularly confusing to readers (usually because they're too general).
[ Parent
| on HN ]
There are no comments on this comment yet.