34 ms·
Throw a warning? C compilers require additional parentheses of you want to use the value of assignment as a conditional. It's impossible to make a mistake there
by bluecalm 7y ago
Throw a warning? C compilers require additional parentheses of you want to use the value of assignment as a conditional. It's impossible to make a mistake there unless you're dumb on purpose that is disabling or ignoring compiler warnings.
That being said I think it matters little if it's a separate operator or not. It solves a real issue I'm the language caused by assignment not being an expression. Better later than never I guess.