Re: 2 days vs 2 day
Posted by Johan Brichau-2 on Feb 26, 2011; 12:28pm
URL: https://forum.world.st/2-days-vs-2-day-tp3325706p3325824.html
+ 1
The method makes _no_ sense at all.
On 26 Feb 2011, at 10:40, Edouard Poor wrote:
> I've been thinking about it, and I think I can understand who this came about, but silently giving a user the wrong answer if they mistype "days" or write some code like "[ :n | n day ]" (I did this one) seems wrong. If "day" should only answer with the singular value, than perhaps it should throw an exception for any values other than -1 or 1.
>
> I'd actually prefer it just called days, and damn English grammar.