On Wed, Jan 8, 2020 at 10:49 PM Brian Theado <brian.the...@gmail.com> wrote:
*>> Prefer functions to classes/methods* > The TokenOrderTraverser class looks to me like a good opportunity to follow the above principle. AFAICT, the way it is written, that class is ONLY useful if it is subclassed. True. > For me, subclassing is usually extra friction and the resulting code is less clear. Without a class, you would have to implement visit as a callback. Edward -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS1hJKysk2-aRpgLxMZHVA_VUHBCXy3Lwq%3DoT2pFFjCqPA%40mail.gmail.com.