* Nicholas Clark <nick@ccl4.org> [2011-08-30 18:50]: > I really don't want to have 2 contradictory implementations of > strptime() in the core. My hunch is that there will be a way to > achieve both desires, but I don't have any insight yet on *how*. > I suspect it comes down to the right interface for adding the > actually-useful semantics. > > We had "fun" for a while when the (newly added) > Socket::inet_pton() was not compatible with the inet_pton() that > Socket6 had provided for some years. Commit 3aca805b785501fb fixed > this. I don't want to repeat such "fun". The new strptime would be a function. The existing one is a method. I don’t think this concern applies. And I don’t think it applies at all to methods on objects too different for Liskov to apply. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous | Thread Next