News for hackers. Stuff that matters.
Re: Three Mobile-Software Rules by wazoox on Saturday October 30, 2010 @01:33PM (#1851327)
> I started wondering why all software, without exception, isn’t written this way by default.

This is a very interesting question. I'm pretty sure it's pure "technical debt"; we're still so conditioned by extremely slow storage devices (the floppy is still the canonical "save" icon, remember?) that nobody questioned this sad state of affairs.

It became suddenly obvious that all and every application should continuously save its state, so that you would need to name your files only to better find them. A whole new paradigm waiting to be implemented, fully orthogonal persistence ( http://en.wikipedia.org/wiki/Persistence_%28computer_science... ).

Re: Three Mobile-Software Rules by riobard on Saturday October 30, 2010 @02:14PM (#1851429)
OS X Lion will probably push this first as they apply what they learned on iPad to OS X.
Re: Three Mobile-Software Rules by glhaynes on Saturday October 30, 2010 @02:55PM (#1851518)
Snow Leopard made the very first step toward it: when your app is in a consistent, everything-persisted-that-needs-to-be state, it can set a bit that tells the OS that it can just kill -9 it at will.

Edit: here's an article on it. It's called "sudden termination". http://www.tuaw.com/2009/09/03/mac-10-6-comes-with-license-t...

Re: Three Mobile-Software Rules by i_c_b on Saturday October 30, 2010 @03:02PM (#1851533)
I feel like I remember Jef Raskin talking about this in his Hamane Interface book, the idea that there should be no saving and that everything should always have infinite undo (all as a goal). I might be wrong about that.
Re: Three Mobile-Software Rules by davidw on Saturday October 30, 2010 @04:41PM (#1851766)
The concept of "no save/infinite undo" is definitely in "The Essentials of User Interface Design".
Re: Three Mobile-Software Rules by Silhouette on Saturday October 30, 2010 @10:24PM (#1852315)
> It became suddenly obvious that all and every application should continuously save its state

I'm not so sure. Continuous saving is one of those ideas that sounds great until you actually do it, but then you realise that saving isn't just about persistence, it's also somewhat about marking a meaningful checkpoint in your work.

Take a look at Google Docs, for example. Open a spreadsheet, edit a few things, hey, great, I can go back to every previous edit in the history of the document. Two months and thousands of edits later, all those early edits are completely and utterly useless, but it puts a horrible drain on the UI because you don't have (for example) separate copies that you saved from when you distributed draft 1 of the sheet and when you distributed draft 2, which are the only milestones you really care about by now.

The idea isn't even that great in the short term, because any usefulness in being able to jump back to work from a couple of days ago is swamped by the awkwardness of having to navigate through every single edit you've made since then to get there. Give me a real document control system and my Ctrl+S reflex any day.

Re: Three Mobile-Software Rules by wazoox on Sunday October 31, 2010 @04:27AM (#1852837)
Orthogonal persistence doesn't enforce unlimited undo, nor does it forbid a "save a copy as" option. Both may make sense (or not) depending upon the task or application.