3 ms·
You can't argue with someone who doesn't understand logic, which is literally true here. I have run out of jokes at Go's expense.
by samatman 4y ago
You can't argue with someone who doesn't understand logic, which is literally true here. I have run out of jokes at Go's expense.
- svnpenn 4y agoI think I made my point known. Converting int to boolean is not a settled task, as different people might not agree on what the correct way is to do that. False could be zero, or negative one, or any negative number, or even one. So its better not to have the compiler make that decision, and just have the code be explicit about what its trying to do.