Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 400 Bytes

Refactor Thoughts.rst

File metadata and controls

18 lines (12 loc) · 400 Bytes

Refactor Goals

  • Cleaner core code
  • Easier start for new users
  • Easier testing with mock events

Global variable cleanup

  • Finish cleaning up "magic" variables: e.g. handlers should do something like:

    from PyMacAdmin import crankd
    if crankd.debug:
        …
  • Remove all specific event handling code to separate classes which inherit from EventSource