MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/sjk8ep/well_fuck/hvfl7eb/
r/ProgrammerHumor • u/theUsurpateur • Feb 03 '22
993 comments sorted by
View all comments
Show parent comment
5
That could be implemented as special syntax, it doesn't actually require y = z to return z. And I've written and seen erroneous if x = y many more times than I've written and seen x = y = z.
y = z
z
if x = y
x = y = z
3 u/igl_blue Feb 03 '22 Haha, yeah I can agree that it's usefulness is outweighed by it's ease of misuse.
3
Haha, yeah I can agree that it's usefulness is outweighed by it's ease of misuse.
View all comments
Show parent comment
5
u/GustapheOfficial Feb 03 '22
That could be implemented as special syntax, it doesn't actually require
y = zto returnz. And I've written and seen erroneousif x = ymany more times than I've written and seenx = y = z.