Skip to content

Update stack-adt.rst #1027

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

YourLocalMedic
Copy link
Contributor

@YourLocalMedic YourLocalMedic commented Jan 31, 2025

Improve usage of stack vs Stack in accordance with Issue #798.

See line 199: previously stack, now Stack. I am unsure of how italics and code blocks interact and whether them being like that will make the website explode. Regardless, I'm unsure of how this unique case of emphasis should be handled.

Also line 5: stacks to Stacks rather than to Stacks as the ADT is still called Stack not Stacks, and there could be confusion if the s is inside of the code block, though there may be disagreement on this matter, which is why I point it out

Improve usage of stack vs ``Stack`` in accordance with Issue jameshughes89#798. 

See line 199: previously *stack*, now *``Stack``*. I am unsure of how italics and code blocks interact and whether them being like that will make the website explode. Regardless, I'm unsure of how this unique case of emphasis should be handled. 

Also lines 5, 17, and 314: stacks to ``Stack``s rather than to ``Stacks`` as the Class is still called Stack not Stacks, and there could be confusion if the s is inside of the code block, though there may be disagreement on this matter, which is why I point it out
Update to be more exact to the goal of the issue
*************

* Stacks are a linear collection of elements
* ``Stack``s are a linear collection of elements
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the artifact to see how it renders. I believe you need a backslash before between the backtick and the s (Stack\s).

* There are many possible ways one could implement a stack data structure
* But, all implementations must be a *stack*
* There are many possible ways one could implement a ``Stack`` data structure
* But, all implementations must be a *``Stack``*
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk how this works. check the artifact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants