3 ms·
The code is part of a standard, used-almost-everywhere library, `date`. Code in these libraries, from what I undersand, have a ton of thought behind them. It mi
by xipho 4y ago
The code is part of a standard, used-almost-everywhere library, `date`. Code in these libraries, from what I undersand, have a ton of thought behind them. It might follow that there were good real-life use-cases ready to use the code that influenced its presence in that library?
Also: https://github.com/search?l=Ruby&q=Date.today.saturday%3F&type=Code https://github.com/search?l=Ruby&q=Date.today.saturday%3F&ty...
- orf 4y agoSo the answer to the original question was simply “yes”.