I���m with Sven on this. Just because JavaScript implementations (and others) choose to perform implicit type conversion doesn���t mean it���s a good thing. It might make it easier for newcomers to write a hello world program but it will bite you when you���re trying to do actual work.
> On 10 Sep 2015, at 16:16, Sven Van Caekenberghe <sven@stfx.eu> wrote:
>
> No, this is not a good idea (silent conversions). It is one of the original differences between Pharo and Squeak. Try searching the MLs, I am sure it is all still there.
>
> You can also concatenate exceptions to create an exception set, I am sure there are other examples.
>
>> On 10 Sep 2015, at 16:12, Aliaksei Syrel <alex.syrel@gmail.com> wrote:
>>
>> Hi
>>
>> I'm just curious why "," doesn't convert object to string during concatenation?
>>
>> For example I expect
>> 'answer is ', 42
>> to return 'answer is 42'�� instead of 'SmallInteger are not indexable'.
>>
>> Of course you could say that
>> 'answer is ', 42 asString
>> does the job... but still why not to put asString in concatenation method
>>
>> Cheers,
>> Alex
>>
>
>