Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: Against bool Date: Fri, 31 May 2024 06:51:30 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 31 May 2024 08:51:31 +0200 (CEST) Injection-Info: dont-email.me; posting-host="de4f422233c7b91f245976b63641f3d4"; logging-data="2242357"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hY7GTJtKBpK3PZGWUTJ+3" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:tozXcpu05QtTj3g61cU9a2hmAqU= Bytes: 1249 On Fri, 31 May 2024 06:49:40 +0100, Malcolm McLean wrote: > if (is_array(node, true)) > > Now what the hell? I’ve suggested this sort of thing before: if (is_array(node, /*useattributes =*/ true)) Nothing specific to booleans, also applicable to other argument types.