I was referring to Perl's choice, and yes, mostly because of the all caps. Python's choice i also find quite distasteful, but i understand that users are supposed to use type(thing) instead of thing.__type__, which is usually the case with these magic methods.
I personally prefer Ruby's stance of making built-in methods look like normal user-defined ones (no special double underscore or all caps convention or anything like that). But this is a small quibble; i wouldn't ditch an entire language for such a minor thing (i've used Perl and regularly use Python and have found both to be quite pleasant languages to use :)
I personally prefer Ruby's stance of making built-in methods look like normal user-defined ones (no special double underscore or all caps convention or anything like that). But this is a small quibble; i wouldn't ditch an entire language for such a minor thing (i've used Perl and regularly use Python and have found both to be quite pleasant languages to use :)