Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Ad-hoc conversions follow as_, to_, into_ conventions (C-CONV) #71

Open
FintanH opened this issue Mar 13, 2020 · 0 comments
Open

Ad-hoc conversions follow as_, to_, into_ conventions (C-CONV) #71

FintanH opened this issue Mar 13, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@FintanH
Copy link
Collaborator

FintanH commented Mar 13, 2020

We want to follow the conventions outlined here.

Cribbing the table:

Prefix Cost Ownership
as_ Free borrowed -> borrowed
to_ Expensive borrowed -> borrowedborrowed -> owned (non-Copy types)owned -> owned (Copy types)
into_ Variable owned -> owned (non-Copy types)

This ticket is to survey if any functions are not following this convention, and if so then fix them.

@FintanH FintanH added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 13, 2020
@FintanH FintanH mentioned this issue Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant