Skip to content

Variables in String interpolation go against common practice #142

@gaffneyc

Description

@gaffneyc

Mainly looking at #1a4ebd4a where it suggests removing { } around variables when doing string interpolation. I don't feel it's common practice and suggesting it might cause confusion.

This came up today when a developer who's been working with ruby for about 2 years was surprised that you could even do #@variable interpolation. Seems to me that if it was in common practice he should have run into this style at least once in those two years.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions