google / google/CodeCity

Should verb give be on $.user?

Open
#396 0 comments 0 reactions 0 assignees View on GitHub
core question
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

At the moment, 'give' is `$.thing.give` this at/to any. But maybe it should be `$.user.give` any at/to this—after all, "give food to safe" doesn't really make much sense.

One possible disadvantage is that, with give on `$.thing` it would make sense for `$.thing`'s object menu to include "give food to " (assuming we allow such templated entries in future), but it would be kind of weird for `$.user`'s object menu to include "give to this".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.