Open nyurik opened 3 days ago
One big question I keep having is the better naming... Note that even Clippy complains about the repeated name (you have this lint disabled)... And since renaming crate is not that convenient, some ideas here:
Server
- this is actually a good choice similar to Mockito's mockito::Server
-- the idea here is that namespace is technically part of the full name, so in our case the full name is socket_server_mocker::Server
(still a duplicate though)ServerMocker
- redundant with the namespace, but more descriptive if used by itself. This is my top choice.SocketMocker
- same, and this is my 2nd top choiceServerSocketMocker
-- this one feels too long and redundantMocker
- mehThere are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
Fixes #17