(no title)
clusterfook | 10 months ago
I am not sure if they serve the same purpose or how the venn diagrams overlap on this, but in 2000 I loved the idea of the assersion in Ada, and I love even more the idea the type system can prove your number is between 1 and 10 (etc.).
I reckon it occasionally will catch a bug, but more than that is perfect documentation. I don't want delay to be an int, I want it to be a RateLimitBackoffDelaySeconds which is between >0 and <60, for example.
IshKebab|10 months ago
https://goto.ucsd.edu/~ucsdpl-blog/liquidtypes/2015/09/19/li...