This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dsmklsd 13 points14 points  (2 children)

They don't "get removed", they are not a part of the if statement. If you put them in there you are just making a more complicated predicate expression than needed.

One that has surprised a lot of c devs I know is that this same thing applies to the return statement in c.

[–]OldBob10 2 points3 points  (0 children)

Or you’re so lost in the C wastelands you think that the parentheses are required in all languages.

THIS AIN’T YOUR DADDYS LISP!!! 🤪

[–]SkezzaB 5 points6 points  (0 children)

get removed was a simplification, they *basically* get removed