Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy statements format #981

Open
matteo-cristino opened this issue Nov 25, 2024 · 0 comments
Open

Copy statements format #981

matteo-cristino opened this issue Nov 25, 2024 · 0 comments
Labels
discussion topic under discussion and collective analysis

Comments

@matteo-cristino
Copy link
Collaborator

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

@matteo-cristino matteo-cristino added the discussion topic under discussion and collective analysis label Nov 25, 2024
@matteo-cristino matteo-cristino changed the title Copy statements Copy statements format Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion topic under discussion and collective analysis
Projects
None yet
Development

No branches or pull requests

1 participant