[Ironruby-core] MutableString vs string

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Dec 6 17:59:38 EST 2007

You should return MutableStrings and also accept MutableStrings as parameters.


From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Eduardo A. Flores Verduzco
Sent: Thursday, December 06, 2007 2:19 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] MutableString vs string

Good question... I'm using always MutableString inside my StringIO implementation but I'm not sure if it's ok...

On Dec 6, 2007 3:54 PM, Peter Bacon Darwin < bacondarwin at googlemail.com<mailto:bacondarwin at googlemail.com>> wrote:

Along the lines of the discussion before about raising exceptions: Is it acceptable to return .NET strings from library methods or should we be trying to use MutableString instances?


Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071206/2b9bf14a/attachment-0001.html 

More information about the Ironruby-core mailing list