On 2024-09-23 at 19:00:10 +0100,
Barry Scott <barry@barrys-emacs.org> wrote:
Even before your code gets big, discipline helps maintenance. :-)On 21 Sep 2024, at 11:40, Dan Sommers via Python-list <python-list@python.org> wrote:But once your code gets big the disciple of using classes helps
maintenance. Code with lots of globals is problematic.
Every level of your program has globals. An application with too many classes is no better (or worse) than a class with too many methods, or a module with too many functions. Insert your own definitions of (and tolerances for) "too many," which will vary in flexibility.
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 9 |
Nodes: | 8 (0 / 8) |
Uptime: | 120:04:58 |
Calls: | 161 |
Files: | 21,502 |
Messages: | 78,883 |