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

Clarify "jumble the names" sub-exercise in the "Name Squash" exercise #28

Open
zoodor opened this issue Feb 24, 2020 · 0 comments
Open
Labels
Beginners Issues suitable for those new to Clojure clojure code examples markdown

Comments

@zoodor
Copy link

zoodor commented Feb 24, 2020

The "jumble the names" exercise doesn't explicitly call out that the expectation that the written function should be passed the collection of people created in the first exercise.

It would help clarify things if an example of how the function will be called was given (it might be useful if the first exercise gave an example name for the collection to be created so that it could be referenced here - e.g. "famous-scientists" is used in the example answer for the first question (though it shouldn't reference something that is only visible in a section that the student may not have revealed).

e.g.
Text for "A collection of two people" exercise could be:

Create a collection of two people. Each person should have a two part name, e.g. "Ada Lovelace".

Give your collection a name (e.g. "famous-scientists") so you can use it in later exercises on this page.

and the text for "Jumble the names" exercise could be:

Write a function that takes your collection of people (e.g. the "famous-scientists") and jumbles up the first and last names to create a new person.

For example, take the first name from the first person and join it with the last name from the second person.
It would be called like:
(jumble-names famous-scientists)

@practicalli-johnny practicalli-johnny added Beginners Issues suitable for those new to Clojure clojure code examples markdown labels Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beginners Issues suitable for those new to Clojure clojure code examples markdown
Projects
None yet
Development

No branches or pull requests

2 participants