r/ProgrammerHumor • • Feb 05 '19

Rule #2 Violation kill(humans);

Post image
123 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/Hevaesi Feb 06 '19

It's valid only if assignment is an expression.

Some languages leave it as a statement to prevent common bugs that arise with it.