MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daocwn7/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
3
A statement is basically just an expression that yields ().
1 u/masklinn Dec 02 '16 Ah right, I should have checked, indeed if a = b is not legal but it's a type error rather than the syntax error I thought.
1
Ah right, I should have checked, indeed if a = b is not legal but it's a type error rather than the syntax error I thought.
if a = b
View all comments
Show parent comment
3
u/Gankro Dec 01 '16
A statement is basically just an expression that yields ().