Skip to content

Meetup: Add hints.md to guide students towards TemporalAdjusters #2935

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
rabestro opened this issue Apr 21, 2025 · 0 comments
Open

Meetup: Add hints.md to guide students towards TemporalAdjusters #2935

rabestro opened this issue Apr 21, 2025 · 0 comments

Comments

@rabestro
Copy link
Member

The Java "Meetup" exercise requires calculating specific dates based on rules like "first Monday", "third Tuesday", "teenth Wednesday", or "last Friday" of a given month and year. While solvable by manually iterating through days, the idiomatic and most efficient solution leverages the java.time API, specifically the java.time.temporal.TemporalAdjusters utility class.

Many students, especially those less familiar with Java 8+ date/time features, may not be aware of TemporalAdjusters. This can lead to frustration or reliance on more verbose, less efficient manual implementations, potentially missing a key learning opportunity about the standard library.

Proposed Solution:

Add a hints.md file to the exercises/practice/meetup/ directory to gently guide students towards the relevant java.time features without giving away the implementation details.

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