One class per file?
greg at cosc.canterbury.ac.nz
Fri Oct 3 09:43:52 CEST 2008
Bruno Desthuilliers wrote:
> OTHO, 'one class per file' is a standard idiom in Java and IIRC in C++
> (which both have namespaces one way or another)
In Java you don't get a choice, because the compiler
assumes a class can be found in the correspondingly
While C++ has namespaces, they don't have any defined
relationship to source files, so they don't help you
find which file something is defined in.
More information about the Python-list