Re: [Tutor] properly propagate problems

2019-03-24 Thread ingo janssen
On 24/03/2019 00:03, Cameron Simpson wrote: Short takeaway: decide what's mechanism and what is policy, and try to put policy further out in higher level code. That, Cameron, was a very insightful answer and an eye opener, as I try to 'fix things' as early as possible. It also answered the que

Re: [Tutor] properly propagate problems

2019-03-23 Thread Cameron Simpson
On 23Mar2019 11:04, ingo janssen wrote: One thing I often struggle with is how to deal with exceptions, especially when I have a chain of functions that use each others output and/or long running processes. As the answer will probably be "it depends" Oh yes! The core rule of thumb is "don't