Hello list!

I would like to propose the compiler spit out immutable strings as
string literals. I'd like to do this by making a subclass of classical
strings which throws error messages when it is attempted to change the
string.

The beginning of this discussion happened in the bug tracker, please
see http://code.google.com/p/pharo/issues/detail?id=1332.

I completely agree with Toon: String literals should be immutable.
This can be done with almost no speed impact and would only break code
that quite honestly deserves to break.

My 2 cents.

Regards,

Niko

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to