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 anamespace. 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." :)