[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: better error messages through assertions
From: |
Ricardo Wurmus |
Subject: |
Re: better error messages through assertions |
Date: |
Tue, 15 Feb 2022 23:15:26 +0100 |
User-agent: |
mu4e 1.6.10; emacs 28.0.91 |
Philip McGrath <philip@philipmcgrath.com> writes:
> As a Racketeer, I think you're half way to reinventing contracts.
Yes, I was in fact thinking of contracts, but shied away from mentioning
them :) The reason is that I think we can cover a lot of distance with
just a few simple assertions to avoid plowing ahead on bad arguments.
--
Ricardo