gasp-dev team mailing list archive
-
gasp-dev team
-
Mailing list archive
-
Message #00071
Combining api.py and backend.py
Hi,
As I was looking through the GASP distribution, I was wondering if the
separation of GASP into separate frontend and backend .py files was doing
more harm than good. Global variables, initialization of objects occurring
outside of __init__, etc, are all things that, while it works, impede
readability and make it harder for students to understand GASP.
If needed, we can prepend private/internal interfaces with _ and *very
private* interfaces with __ per PEP 8<http://www.python.org/dev/peps/pep-0008/>
.
Granted, the code works well. I'd just like to improve the maintainability
:)
--
Luke Faraone
http://luke.faraone.cc
Follow ups