
May 30, 2010
9:27 a.m.
On 30/05/10 13:10, Marcos Bonci wrote:
And I still fail to see any disadvantage in having date and time literals (probably as shortcuts for the already existing datetime types, or a future version of them).
The same disadvantage that any new syntax has: it increases the size of the language, making it harder to learn and harder to implement. Why make date/time literals a special case, when they can be dealt with quite adequately as a standard module? (the existing module may have some odd quirks, but that's a far cry from needing to be given literal syntax). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------