by vasergen · 5y ago · 0 comments
Writing specs is tedious and apparently not even encouraged for private functions.
And what's liberating is that there can be multiple types (including patterns) for each argument and the return value, and the spec can capture all those details. This combination of specificity and flexibility is unthinkable in most languages.