exercism / exercism/java

Meetup: Add hints.md to guide students towards TemporalAdjusters

Đang mở
#2,935 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
834
Fork
779
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.