On 29/03/2015 02:32, Juan C. wrote:
On Sat, Mar 28, 2015 at 10:26 PM Mark Lawrence <breamore...@yahoo.co.uk>
wrote:
If your classes are small put them in one source file, which is clearly
simpler than your proposed structure. Why over-engineer something if
there is no need to?
Well, my classes won't be that small, and separating them by modules would
be easier to maintain, and after all, it's only 4 modules, not 10-15.
My actor related methods should be set apart from my movie, serie related
ones, don't you agree?
No.
Having all the classes (Actor, Movie, Serie) in one module would make it
200, maybe 300 lines long.
We're talking Python, not Java. Some modules run to 1000s of lines, a
couple of hundred is just peanuts.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor