lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Hopkins wrote:
[...]
> There is no online banking site on earth that will undo a money transfer
> when you press the back button, and for good reason.

Well, yeah, that's why banking sites don't work like that.

OTOH, any well-written timetabling site *does* work like that, because the
users *will* want to skip back and forwards between the various form pages as
the collect information. I enter the dates and press OK; I select the flight
and press OK; I look at the prices and don't like tham; I press BACK, select a
 different flight and press OK... if I had to restart from the beginning every
time, I'd quickly get highly frustrated and use someone else's.

And, to be honest, I'd expect a multi-page bank form to do this as well ---
within the form. Trying to back up over the actual transaction would fail, of
course. Backing up over the data entry phase is exactly what the users want
- --- you invoke the Principle of Least Astonishment; people expect the 'back'
button to take them to the last page they were looking at.

Like any programming feature, continuations can be abused (see signature).
That doesn't mean that they're not useful in the right context.

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│
│ "There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs." --- Flon's Axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzWwTf9E0noFvlzgRAme7AJ9SP0MtCWLeVlzVTu+TxWvQ7vF4QgCg2muQ
nNe7ajJ/++Z7wVlvTebCMwI=
=crGt
-----END PGP SIGNATURE-----