✨ (concepts) Add new concept exercise phone-number-analysis#1676
✨ (concepts) Add new concept exercise phone-number-analysis#1676devkabiir wants to merge 1 commit intoexercism:mainfrom
phone-number-analysis#1676Conversation
c39eaa8 to
e7eb454
Compare
There was a problem hiding this comment.
Many people would consider that feature 2 would be a standalone test and that feature 1 would reference that test in constructing the feature 1 tuple. It seems that we are looking for feature 2 to return the second element of the feature 1 tuple (i.e. analyze().1) , rather than returning the value of the separate test, simply because the second part of feature 1 relies on feature 2.
Perhaps we should recognize that in the instructions and say (as we do in different exercises) that although you could simply return the value of the standalone test for fake 555 prefix, this exercise asks you to return the value based only on the phone number info produced in task 1.
There was a problem hiding this comment.
I understand your concern on clarity, I don't understand how to make it more clear, the following along with the accompanying example should suffice
Implement the function
is_fake()to detect whether the phone number is fake using the phone number info produced in task 1.
As I understand it, The purpose of second task is to learn how to take tuples as parameters and indexing tuples.
08c5c99 to
4f65cf9
Compare
This is inspired by the same in csharp track. Provides a gentle introduction to tuples.
|
The author of this PR has stopped responding in the discussions planning the work on the syllabus. But there's been work put into reviews already, so I'm keeping it open in case it can be salvaged in a future attempt to create a good syllabus. |
This is inspired by the same in csharp track. Provides a gentle introduction to tuples.