Sept. 10, 2015
2:16 p.m.
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