-
-
Notifications
You must be signed in to change notification settings - Fork 554
Add baffling-birthdays
exercise
#2539
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
Conversation
10e63ab
to
f0c319b
Compare
f0c319b
to
a0915a8
Compare
Co-authored-by: András B Nagy <20251272+BNAndras@users.noreply.github.com>
Co-authored-by: András B Nagy <20251272+BNAndras@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel there may be some confusion between 'birthday' and 'birthdate' among non-native speakers. It might be helpful to clearly explain the difference in the instructions.
Co-authored-by: András B Nagy <20251272+BNAndras@users.noreply.github.com>
Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
Tough call. I'll share my thoughts.
|
@ErikSchierboom Have you also considered nesting (->), or is it not appropriate for these tests? |
In general we try to not use nesting, but in this case it might be appropriate due to several completely different properties being tested |
I've used nesting and tweaked the properties again. Once again, we're proving that naming things is hard :) |
There are now two variants (of which we need to choose one, or an alternative). People with the same birthday are referred to as:
Which one do you prefer? Or should it be "same birthday?" |
I think "have the same birthday" sounds more natural. "Sharing their birthday" sounds like they are celebrating together. "Matching birthday" does sound a bit awkward. You'd have to do a ton of renaming though. Properties, descriptions, instructions... |
I don't mind as I'm agreeing with you so I think it is a good idea |
For the record, the Wikipedia article uses a mix of "share the same birthday" and "have the same birthday". It also uses "shared birthday" a lot. |
Okay, another iteration :) I've gone for "share" after all, as it seems to be used quite a lot in online material. |
I don't know if I'm missing something, but I've noticed that the props Edit: By doing so, it will also resolve the issue with the plural in "shared birthdays" (see prev review) as this will allow to change it to "shared birthday" without creating a conflict in parent descriptions and props. |
That's a great idea. I originally had them separate to sort of force the student to solve it in steps but merging them is a good idea. |
As suggested, I've merged the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks good. I only have one remaining suggestion from a previous review, and the schema error in this one.
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
Fixed both |
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
Thanks for the help everybody! |
This exercise combines two subjects that I feel we are still lacking exercises for:
I've created a sample C# implementation for reference: exercism/csharp#2402