(2013/08/31 16:20), charliesome (Charlie Somerville) wrote:
> Feature #8579: Frozen string syntax

Just another syntax idea:

  FROZEN{ 'foo' }

Advantage:
* Can implement on Ruby level in 2.0 or before
* Can extend for other literals such as Array
* Similar to BEGIN{ ... } / END{ ... }

Disadvantage:
* Long
* Not in Ruby style?
* A few compatibility issue for programs using FROZEN() method

-- 
// SASADA Koichi at atdot dot net