mojo
mojo copied to clipboard
[Docs]What should keywords `borrowed`, `inout`, and `owned` be called collectively
Where is the problem?
N/A
What can we do better?
As title. It's a bit clunky to enumerate them every time in conversations. Maybe we could call them "argument something-something marker".
Anything else?
N/A
Currently the docs call them "argument conventions": https://docs.modular.com/mojo/manual/values/ownership.html#argument-conventions
@arthurevans Thanks for the pointer. So the keywords indicates the argument conventions used. My question was, what do we call the keywords themselves. Shall we call them "argument convention annotation/marker" (just choose one so people can use it).
if this is specific to borrowed, inout, and owned, i think something more specific to ownership would help, maybe argument ownership markers? Realistically if this was added in docs, id want to see it under a page for argument conventions, then these could be in a subheading for ownership.