More operators inside `is(...)` expressions
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Sep 3 16:49:24 UTC 2020
On Thu, Sep 03, 2020 at 12:21:35PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
[...]
> Economy of means is an underrated principle of writing code (and in
> general). So if I'm in a place where version would fit, version it is.
> Otherwise I decide, for a reason, that static if is to be reached for.
> All of that would be hardly irrational.
+1. Economy of means is highly underrated these days, but it is a
powerful principle that helps you write better code.
T
--
Amateurs built the Ark; professionals built the Titanic.
More information about the Digitalmars-d
mailing list