Y
Hacker News
new
|
ask
|
show
|
jobs
by
slaymaker1907
1888 days ago
I like the use of "not" because it stands out more clearly than "!". "if (not (x and y))" seems more readable to me than "if (! (x && y))".
1 comments
tirrex
1888 days ago
I agree, “!” is something easy to miss. I prefer “!=“ mostly for this reason.
I am just surprised I’ve never seen this in any code base before.
link
I am just surprised I’ve never seen this in any code base before.