|
|
|
|
|
by jjolla888
3504 days ago
|
|
> #Does what it says on the tin
> say "Yippee" if $date.later(:5years).is-leap-year; Is that a Georgian or Benghali or Indian or Buddist Era Thai leap year? Actually are we talking the Georgian calendar - or the Julian, Revised Julian, Coptic, Ethiopian, Chinese, Hebrew, Islamic, Hindu, Bahai, or Solar Hejri calendar ? |
|
https://docs.perl6.org/type/Date
"A Date is an immutable object identifying a day in the Gregorian calendar."
I like a language that's not surprising, with easy to find answers. My experience with Perl over the decades is everything about it meets expectations to a spooky extent, which is also nice. The surprise factor for Perl is very low.
It seems to define excellence in programming language documentation. Is there anything better out there?