Comments (4)
I think I personally found the idea of a stack strong-ish implied given there is an explicit test for LIFO behavior. That plus the reversal behavior, but I can see where someone might find that behavior confusing. It would help to be certain first you were dealing with a stack.
we should probably rename the class SimpleLinkedList to Stack.
This would surely add some clarity :-) It should be noted if we find this unclear that this exercise is spread across MANY if not all tracks, so we may need to update them all - do we still have canonical text/verbiage anywhere or did that go away with version 3?
from ruby.
The canonical will be started from the problem specifications and then may be further specified in the language track via test generation or documentation. The ruby exercise information appears to come directly unmodified from the problem specifications.
from ruby.
Yeah, that would have been my guess. :)
from ruby.
I'm going to close this, as the conclusion was that the change needs to be proposed in the Problem Specifications repository.
The simple linked list is currently up-to-date with the problem-specifications repository, and if further changes are made there, we can sync this exercise again.
from ruby.
Related Issues (20)
- Bowling: missing test HOT 1
- Ruby Basics Introduction.md typo HOT 4
- Savings account HOT 13
- `boutique-inventory`: mistake in `introduction.md` for the exercise and `about.md` for the concept
- Zipper needs a test for .up.up HOT 3
- test is wrong here [triangle] HOT 2
- [tests] Microwave exercise test suite have errors. HOT 6
- 🤖 Sync error for commit 731e26 HOT 3
- Error in boutique_inventory_test.rb HOT 2
- Pre-requisite and missing hints for Simple Calculator HOT 4
- stock_for_item method in boutique Inventory challenge HOT 4
- `item_names` in Boutique Inventory challenge HOT 1
- Kindergarten Garden may be harder than defined HOT 4
- [SavingAccounts]: Suggestion: change negative interest rate tests to return positive value HOT 5
- Hacktoberfest 2022 HOT 2
- Binary Search Ruby HOT 3
- TwoBucket - possible error in test suite HOT 4
- Question about function name in "Moviegoer" exercism HOT 2
- Typo in final bird_count test where "whith" should be "with" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby.