Argh, PHP
• ∞
I love dynamic typing, but…
$a = "look I'm just a string";
$b = 0;
if ($a == $b) { return "come on, really?"; }
This has caused two separate bugs of mine this afternoon, both of which took way too long to find.
I'm Marco Arment: creator of Instapaper, technology writer, and coffee enthusiast.
• ∞
I love dynamic typing, but…
$a = "look I'm just a string";
$b = 0;
if ($a == $b) { return "come on, really?"; }
This has caused two separate bugs of mine this afternoon, both of which took way too long to find.