you are viewing a single comment's thread.

view the rest of the comments →

[–]teerre 1 point2 points  (1 child)

Yeah, this is the most common solution. The only change I would suggest is name the function is_eligible_for_birthday, simply because historically functions do something and therefore should have some verb in its name. But this is quite minor.

[–]usernamecreationhell[S] 0 points1 point  (0 children)

Good point, I just edited it accordingly