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

WO-004: Smarter & Safer Queues #12

Open
5 tasks
tomasanchez opened this issue Mar 26, 2022 · 0 comments
Open
5 tasks

WO-004: Smarter & Safer Queues #12

tomasanchez opened this issue Mar 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Comments

@tomasanchez
Copy link
Owner

tomasanchez commented Mar 26, 2022

User Story

AS a Developer
I WANT to have smarter & safer queues
FOR avoiding stupid errors.

Acceptance Criteria

Now we've got safe queues!, however it is impossible for us to create and destroy our safe queues 😮

  • Allow creation and destruction of safe_queue_ts destroy method must also be smart.
  • Develop the method smart_pop that given a queue returns the last element if there is any - if queue does not exists or has no elements return null.
  • Update safe_queue_t to use smart_pop
  • No warnings
  • Document methods
@tomasanchez tomasanchez added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants