[e-lang] Random thought: exceptions ~= localization
Kevin Reid
kpreid at mac.com
Thu Jan 29 15:12:11 CST 2009
It occurred to me that there are perhaps some similarities between the
problems of defining exception object types (in a distributed/no-
globals language like E), and displaying text in the user's language:
They both involve two parties (callee, caller; application, user)
which communicate using an only partially agreed-up-front vocabulary.
These problems also come together directly in the case where an
exception is to be displayed in the user interface: the exception
should be displayed with a message (a) in the user's language which
(b) makes sense in context.
Also, I would like to remind David Hopwood to post his throw-undoes-
side-effects proposal. ( http://www.eros-os.org/pipermail/e-lang/2007-January/011831.html
is the middle of a thread about it.)
--
Kevin Reid <http://homepage.mac.com/kpreid/>
(Note: The above message is a mild revision of a very old draft. I may
not have everything about it swapped in at the moment.)
More information about the e-lang
mailing list