Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Custom Iterators for some API stuff #14

Open
rdev34 opened this issue Nov 15, 2020 · 0 comments
Open

Custom Iterators for some API stuff #14

rdev34 opened this issue Nov 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request pre-release Complete before the official release

Comments

@rdev34
Copy link
Collaborator

rdev34 commented Nov 15, 2020

For some api stuff we should make iterators that work like:
for player in Players:GetPlayers() do

instead of what we currently have:
for player_uid, player in pairs(Players:GetPlayers()) do

Since iterator code is very unreadable, every place where we make an iterator like this, we should provide an example usage as a comment above the function declaration

@rdev34 rdev34 added the enhancement New feature or request label Nov 15, 2020
@rdev34 rdev34 self-assigned this Nov 15, 2020
@rdev34 rdev34 added the pre-release Complete before the official release label Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request pre-release Complete before the official release
Projects
None yet
Development

No branches or pull requests

1 participant