Using -spec for callbacks when defining behaviours

Steve Davis steven.charles.davis@REDACTED
Sat Mar 20 11:17:52 CET 2010


Hi Robert,

I most definitely share a strong negative reaction to: "strings as
complex data types ..."
Strings as a "type" are entirely bogus in my opinion. e.g. in SUCS
(Steve's universal character set) the word "String" is by definition
encoded as:
<<0,1,2,3,4,5>>
...since the octet values for this charset standard happen to map as
follows...
16#00 = "S", 16#01 = "t", 16#02 = "r", etc.

regs,
/s


More information about the erlang-questions mailing list