4 ms·
The downside in a dynamically typed language is that if (aBooleanVariable) will return true for any truthy value, not just 'True'. Of course I still prefer wr
by pythonaut_16 10y ago
The downside in a dynamically typed language is that
if (aBooleanVariable) will return true for any truthy value, not just 'True'.
Of course I still prefer writing my if statements that way, it's just something you have to watch for if something does go wrong.