Hi all,

Arjen's comment on facebook got me thinking about how much I don't like
the LENGTH() function because it's ambiguous -- is it byte length, or char
length? I've griped on this issue in other languages too, particularly PHP,
and had to explain to a number of people that bytes != chars, an issue
which is in my opinion clouded by LENGTH().

Also, I'm not a fan of the function name OCTET_LENGTH... "byte" is
a much more commonly used term ;)

So... I'm thinking of removing LENGTH() so that one must explicitly use
BYTE_LENGTH() or CHAR_LENGTH(). What does everyone think?

- Devananda

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to