Skip to content

Copy statements format #981

@matteo-cristino

Description

@matteo-cristino

Writing some documentation I found that we have

# simple copy to
When I copy '' to ''

# copy in object
When I copy '' in ''
When I copy named by '' in ''
When I copy '' to '' in ''

# copy from object
When I copy '' from '' to ''

# copy from object into another object
When I copy '' from '' in ''

# copy changing encoding
When I copy '' as '' in ''
When I copy '' as '' to ''

# more table related
When I copy contents of '' in ''
When I copy contents of '' named '' in ''

that seem fine to me, while I think we can deprecate the following

  • When I create copy of '' from ''
    When I create copy of '' from dictionary ''
    since we have When I copy '' from '' to '' that is simpler and powerful
  • When I create copy of object named by '' from dictionary ''
    by creating When I copy named by '' from '' to ''
  • When I create copy of element '' from array ''
    by making When I copy '' from '' to '' to support numbers as position and array as source (not much work)
  • When I create copy of last element from ''
    by creating When I copy last element from '' to ''

In this way all the copy statements will follow that same format

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussiontopic under discussion and collective analysis

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions