[r6rs-discuss] [Formal] "Byte-vector" would be a better name than "bytes" for a data type.
On 11/14/06, Arthur A. Gleckler <arthur_at_zurich.csail.mit.edu> wrote:
>
> I'm most interested in not having a type name that is plural. I
> don't care that much about the name "byte-vector". "Bytes" is just
> awkward.
>
Agreed; in Erlang, a vector of bytes is called a binary -- which is a
considerable improvement over "a bytes" for describing that kind of
object.
Since the most prevalent Scheme coding style tends to favor long,
descriptive identifiers over terse but vague and possibly ambiguous
(to humans) identifiers, the use of the term "byte vector" is in
keeping with this style. If terseness is to be preferred, terms like
"binary" and even "u8vector" are preferable by far to "bytes".
--Jeff
Received on Wed Nov 15 2006 - 05:09:02 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC