At work I had to face Perl programming, and I noticed this illogical thing:
[do somesthing] unless $a < $b;
It will not work if $ a and $ b are strings, for them you need to write lt, gt, and so on. And then what is the point of using $% @ signs, if you need to know their type more accurately in order to work correctly with variables? Or is this another special exception for some programmers to work better and the rest complain about illogicality?
10 > 2
, but"10" < "2"
. - Smit Johnth