Project

General

Profile

Misc #10541

Remove shorthand string interpolation syntax

Added by danielmorrison (Daniel Morrison) over 6 years ago. Updated over 5 years ago.

Status:
Open
Priority:
Normal
[ruby-core:66458]

Description

I would like to see the shorthand string interpolation syntax, "foo#@bar" deprecated and then removed in 3.0.

My reasons:

  1. Most experienced Ruby developers I've talked to don't even know it exists.
  2. It has been the cause of real problems. http://status.cloudamqp.com/incidents/vj62pnp62tj9

When a syntax is not widely known and has the potential for problems, I think it makes sense to deprecate and remove.

Also available in: Atom PDF