I'm starting to write a small program involving holiday dates and had a question of opinion on my approach.
I am doing a check and if it aligns with one of the holiday dates then a decision is made. The holidays are always the same ones, Ala 4th of July, Thanksgiving, Labor day.
I could either put these dates for the next 10 years in a file, or figure them out programmatically each time and do the check date?
Which option do you guys think is best?
I would appreciate some feedback and opinions on this.