[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] wx-2.9.2: undesired change in behavior of MRU list
From: |
Václav Slavík |
Subject: |
Re: [lmi] wx-2.9.2: undesired change in behavior of MRU list |
Date: |
Fri, 22 Jul 2011 13:19:22 +0200 |
On 19 Jul 2011, at 14:37, Vadim Zeitlin wrote:
> 2. Just always call some virtual function when the file from MRU couldn't
> be opened, whether it was because it was not found or some other reason
> (and pass the flag indicating its existence, or not, to this function).
>
> (1) is somewhat simpler while (2) is maximally flexible -- but maybe too
> much so? What do you think?
It's too much, IMHO. (1) covers the most common case and is easy to implement,
while (2) is more complicated with little benefit. After all, if an app fails
to open existing file, it knows about it and if it needs to do something with
the MRU list in response, it can do it at the point where it failed to open the
file.
Regards,
Vaclav