Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFC] Consider using safe placeholders in our codebase #18345

Closed
@javiereguiluz

Description

@javiereguiluz

Problem

The recent JavaScript debacle due to a trademark dispute should be a serious warning about the dangers of using real names for naming things in our code.

It's not a widespread practice, but Symfony uses real people names, real company names and real websites in some tests.

Solution

Wikipedia publishes a list of safe placeholders for any need. I propose to enforce the use of these placeholders in our codebase, to avoid any problem:

  • Companies: Acme
  • People: John Doe and Jane Doe
  • Websites, domains: example.org and example.com
  • Variables: foo, bar, baz and qux

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions