On Sat, Sep 13, 2014 at 9:44 AM, 'Terry Brown' via leo-editor <[email protected]> wrote:
> Sounds like it's pretty solid now. The acid test will be actually changing settings. > only thing I wonder about is the somewhat vague way themes are located, > nothing wrong with searching for specific headlines I guess, but they're not > really obviously specific headlines. I'm talking about the code I wrote, not > sure if you've tweaked that. No. I've just refactored the code. I'm open to any suggestions or code alterations. Later today. Edward P.S. I'm often amazed at how much stronger code is once it's been converted to be a class. All the code is more "relaxed". It's so much easier to refactor code, to find cleaner ways of doing things, to encapsulate policy decisions and hide implementation details. check_style_sheet is a good example of hiding ugly details that should have little or no effect on the rest of the code. And let's not forget docstrings: for my money, they do 99% percent of what literate programming was supposed to do. They are just one more way that Python is a brilliant language. In the SSM class, the docstrings for ssm.munge and ssm.get_master_widget are in my mind at least as important as the actual code. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
