Furthermore, most type system lack means to statically describe types such as “a list with at least two elements” or “a floating-point number larger than or equal to zero”.http://programmers.stackexchange.com/a/258281
Such requirements should be described as far as possible using static typing; anything else has to be worked around via run-time validation.
No comments:
Post a Comment