[ruby-core:93419] [CommonRuby Feature#14548] Allow some_array&.[1] to be a valid syntax
From:
sprycarolus@...
Date:
2019-06-29 12:46:09 UTC
List:
ruby-core #93419
Issue #14548 has been updated by janatavery (janata very). Can you fantasize getting better sexual arousal every time you go to the bed? EveryMan resides in such kind of dream but the bubble pops once you actually get to carry out! Bigger penis, erections on demand, extensive endurance, pleasant orgasms really are a couple things that are most desired by men. However, it continues to be a dream that these days owing to your bad life style choices. Men, in case you really desire to produce love for a partner and delight in a relaxing session, then fix your sexual anxieties with the effortless and easy Gentiv Ultra tablets ingestion. https://supplementblend.com/gentiv-ultra/ ---------------------------------------- Feature #14548: Allow some_array&.[1] to be a valid syntax https://bugs.ruby-lang.org/issues/14548#change-78961 * Author: rosenfeld (Rodrigo Rosenfeld Rosas) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Currently, Ruby allows accessing an array's index while testing whether the array is not nil with this syntax: `my_array&.[](1)`. I've always found this awkward but didn't mind about suggesting anything to improve this. I was just reading about how JavaScript is probably going to support myArray?.[1] and found that it read good enough for me. So I'd like to propose about the same syntax, replacing ?. with the Ruby equivalent &. instead. How does that look like to you? -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>