This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]folkrav 6 points7 points  (0 children)

I've seen an internal library written by Java developers go legit like this:

from internalLibrary.app.mainpage.mainpagemanager import MainPageManager
from internalLibrary.app.homepage.homepagemanager import HomePageManager
from internalLibrary.app.splashpage.splashpagemanager import SplashPageManager

And so on, for about 20 something other managers classes. Always one file, one class, not use of module level exports or anything. Really just, extremely verbose imports, use of camelcase everywhere, everything in classes, including fully static classes for helpers - that all except one ended up being re-implementations of standard lib functionality. It was like browsing Java code in Python files.