On 12/20/11 2:58 PM, Marco Leise wrote:
Am 19.12.2011, 19:08 Uhr, schrieb Walter Bright
<newshou...@digitalmars.com>:

On 12/16/2011 2:55 PM, Walter Bright wrote:
For example, in std.datetime there's "final class Clock". It inherits
nothing,
and nothing can be derived from it. The comments for it say it is
merely a
namespace. It should be a struct.

Or perhaps it should be in its own module.

When I first saw it I thought "That's how _Java_ goes about free
functions: Make it a class." :)

Same here. If I had my way I'd rethink the name of those functions. Having a cutesy prefix "Clock." is hardly justifiable.

Andrei

Reply via email to