From: Tanaka Akira Date: 2013-10-07T23:51:20+09:00 Subject: [ruby-core:57700] Re: [ruby-trunk - Feature #8976] file-scope freeze_string directive 2013/10/2 enebo (Thomas Enebo) : > Issue #8976 has been updated by enebo (Thomas Enebo). > > > I think having a pragma at the top of the file will be much more error prone than the f-syntax. As a file grows, the ability to notice you are in a frozen string file goes down. It would have been great if Ruby had started immutable strings by default but that ship has sailed, I think having some files be immutable will be confusing. I think it is not a big problem because we don't need to aware the directive is exist or not if we use "..." to strings not modified and "...".dup to strings to be modified. -- Tanaka Akira