From: mengx@... Date: 2000-04-21T11:11:52-04:00 Subject: [ruby-talk:02555] Re: frozen behavior > That's sounds pretty painful as the default, I think, and would > likely break every program in existance! > > Perhaps a command line flag could freeze strings by default, or > --even better-- if we had access to the String constructor, > you could simply override it in your Ruby program and freeze > all strings by default without breaking any other program. > > /\ndy > This may not work since once you override it, all subsequent imports (requires) module will break unless resetting it. I feel making string frozen by default not only saves a lot of typing, but also make programs a lot safer. Perhaps it is time to write Ruby4000 to make a perfect language:-)