Martin Stjernholm, Roxen IS @ Pike developers forum wrote: [...]
But the worst is that it might give other users the impression that that sort of thing is a good idea, especially those who don't have a clear understanding of the distinction between classes and modules.
/ Martin Stjernholm, Roxen IS
I'm not sure I have a clear understanding of the distinction. Is it documented somewhere, or is it appropriate to ask for a brief explanation?
Looking at the pike tutorial (http://pike.ida.liu.se/docs/tutorial/) I get the feeling that modules is .pmod files and classes is .pike files (or a class{ ... } in any of these). But my only conclusion to this is that modules then will be pre-created by the pike compiler, ready to be used whenever referenced, and classes needs to be cloned before use. As has been made clear to me in previous discussions about pike modules.
What part is 'muddling with the distinction between modules and classes' ? Is it when inheriting a module into a class.. ?
// Andreas