On Sunday, April 8, 2018 10:46:27 AM CEST Joey Pabalinas wrote:
>
> --dohnnvt2hwn6rmo4
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> Prefer bool over int for variables / returns which are
> predicate expressions to mak
Prefer bool over int for variables / returns which are
predicate expressions to make it explicit that these
expressions are evaluating simple "yes or no?" queries.
This makes it more obvious which expressions are _not_
that simple and require more attention, e.g. an `int ret`
meant to hold 0 or -E
2 matches
Mail list logo