Home > Rules of software design > Last open documents

Last open documents

Event based programming is fun. It’s simple, clean, and easy; things fall into place when they should.

But when you have a software that lists your recently opened documents, when do you store them? Some do it as you open them (the right way), others when you close the software (the wrong way).

In the events of a power outage (such as I had last night), some of my programs remembered what I opened from the last time they closed properly. I’m thinking UltraEdit (which I otherwise love). OnClose() or equivalent, isn’t always the best place to store stuff for the next session, because :

While you know the software has opened, you never really know when and how it will close.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: