-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Stack is not a stack #1105
Comments
Hi @riatzukiza ! The word "stack" is just a generic English word; it is not referring to the computing concept known as a stack. stack (noun): a pile of objects, typically one that is neatly arranged. |
It would definitely suck to fix this, and run around change all the docs to say the correct word. Then in the process, every article written about the connect stack would become inconsistent with the documentation. |
The array is also exposed as the property named "stack" so that should change to reflect the new wording and release a new major version as well. |
As far as I know it has been called "stack" since 2010 and in those 8 years there never seemed to be confusion, especially when the same sentence explains the order of execution. |
you could change the name to |
Yea, but that all seems pointless and I'm not going to make the change. You're welcome to fork the module and publish a version that makes sense to you, of course. The license is MIT. |
If the stack on the
app
were a stack, from the following code you would expect the page to display "foo", but instead it will display "not foo".The data structure in use is a queue, if stack is the desired behavior, the index would start at the end of the array and move to the front.
The text was updated successfully, but these errors were encountered: