guile-devel
[Top][All Lists]
Advanced

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

Re: Internal visibility


From: Thien-Thi Nguyen
Subject: Re: Internal visibility
Date: Tue, 10 Jun 2008 10:04:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

() address@hidden (Ludovic Courtès)
() Tue, 10 Jun 2008 09:37:39 +0200

   Instead, applications should be written against an
   encoding-oblivious API.  This is what core R5RS constructs
   and SRFI-1[34] provide at the Scheme level.

Unfortunately, that position doesn't provide a clean path
towards an encoding-knowledgable API.  Better would be to design
an encoding-knowledgable API now (or as soon as possible), with
the encoding value `unencoded' (or `8-bit-raw' or what-have-you)
as default.  This way, things are explicit and the (future)
changes to application code will be less invasive, or even
unnecessary.

In short, the current API is not actually "future proof" (yet).
Requiring obliviousness in the API makes for ugly work long term.

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]