From: Johnny Morrice Date: 2011-04-05T23:44:51+09:00 Subject: Re: Seeking advice On Tue, Apr 5, 2011 at 3:22 PM, Alex Rothbard wrote: > A complete implementation of a transport requires that three classes > (such as the 'Grid' class below) be implemented from their respective > base class. > These transport classes are used by other classes within the > library, and should never be used directly by the user. I interpreted this to mean that the base grid class would not be part of the interface presented to the user either. Is this correct? On Tue, 5 Apr 2011 22:39:33 +0900 Robert Klemme wrote: > def initialize(transport) > @t = transport > @grid = @t.grid > @grid = @t.grid.new # alternative > end Cus the way Robert saw it was that the transport should be the factory for the grid, and the user will see the grid. The transport, which is the factory for the grid, is fed to the object. But the way I saw it was that the transport should be created by the factory and so the user should see no grid at all. The factory feeds the transport to the object. Have I missed the point? More importantly, have you made the code win? Cheers Johnny