Y
Hacker News
new
|
ask
|
show
|
jobs
by
bluecalm
2904 days ago
Yeah but there is already solution for that in C: put parenthesis around assignment when using its value as bool. The compilers warn if you don't so making this error in C can only happen if you don't use warnings.