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

Should size in variables viewer be length? #10224

Closed
Tyriar opened this issue Jun 1, 2022 · 1 comment
Closed

Should size in variables viewer be length? #10224

Tyriar opened this issue Jun 1, 2022 · 1 comment
Assignees
Labels
triage-needed Issue needs to be triaged

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 1, 2022

Testing #10170

I'm not sure where else other than strings the size is used, but length seems more appropriate for Python as I think len(string) is the main function for getting the length?

Screen Shot 2022-06-01 at 7 13 26 am

@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jun 1, 2022
@rchiodo
Copy link
Contributor

rchiodo commented Jun 1, 2022

Size is overloaded to support by array length and multidimensional things like tables or 2/3d arrays.

@rchiodo rchiodo closed this as completed Jun 1, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants