Project

General

Profile

Actions

Feature #13137

closed

Updated by znz (Kazuhiro NISHIYAMA) over 8 years ago

  • Related to : ES6-like hash literals added

Updated by shevegen (Robert A. Heiler) over 8 years ago

While I understand the primary reasoning behind it - less to type - I do not like the syntax proposal.

To me it looks as if there is something missing in the build-up of the hash elements.

It appears to put load onto my brain and appears to be inconsistent with how I would normally populate a hash with key-value pairs.

Perhaps one day we could use some advanced hash that does all of these things including hash with indifferent syntax.

But I think it would be better for core hash to stay the way it is without any new implicit syntax.

To quote matz though, he wrote in the other thread that there may be a chance to revisit it in the future, e. g. when ES6 syntax may be more popular.

Updated by trevorlynnsmith (Trevor Smith) over 8 years ago

My apologies – I searched extensively and did not find the previous feature request. Thank you for the consideration.

Updated by matz (Yukihiro Matsumoto) over 8 years ago

  • Status changed from Open to Rejected

Rejected. I saw JavaScript new syntax, but I had no sympathy. It doesn't make anything more understandable.

Matz.

Updated by naruse (Yui NARUSE) about 8 years ago

Note: such culture seems to come from SGML.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0