r/programming •

Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"

[deleted] — view deleted post

0 Upvotes

661 comments sorted by

View all comments

Show parent comment

1

u/BonzaiThePenguin Apr 10 '14

Being able to do it is just a side effect of assignments also returning the value of the assignment, which allows code such as this:

a = b = c = d;

Outside of that, I've only ever seen it used within other constructs as convenient shorthand; never as something that had to be done that way.