3 ms·
Experienced Perl programmers would, and PHP took inspiration (altough in crippled way) from Perl.
by dozzie 10y ago
Experienced Perl programmers would, and PHP took inspiration (altough in
crippled way) from Perl.
- oneeyedpigeon 10y agoAnyone who ever programs in a weakly-typed language should be aware that comparing two values with different types will involve type coercion, that there are obviously strange edge cases when that happens, and that comparing with a strict comparison operator such as === is good defensive programming in those contexts.