Closed Akuli closed 7 months ago
It's been about 15 seconds since I posted the issue, and I no longer like this idea.
if strcmp(foo, bar) as bool:
to check if strings differ. I think if strcmp(foo, bar) != 0
is somewhat less confusing: !=
looks like "not equal to" which is what it does.== NULL
/ != NULL
that Jou forces me to write.
I tried to do this:
where
get_special_constant()
always returns -1, 0, or 1. This doesn't work:IMO this should be possible. Sometimes
foo as bool
is more readable thanfoo != 0
.