[erlang-questions] correct terminology for referring to strings
Max Bourinov
bourinov@REDACTED
Thu Aug 2 14:29:29 CEST 2012
Perfectly clear for me.
Best regards,
Max
On Tue, Jul 31, 2012 at 1:24 PM, Joe Armstrong <erlang@REDACTED> wrote:
> I'm working on a 2'nd edition of my book, and have got to strings :-)
> Strings confuse everybody, including me so I have a few questions:
>
> To start with Erlang doesn't have strings - it has lists (not strings)
> and it has string literals.
>
> I want to define a string - is this correct:
>
> << A "string" is a list of integers where the integers
> represent Unicode codepoints. >>
>
> Questions:
> Is the sentence inside << .. >> using the correct terminology?
> If not what should it say?
>
> Is the sentence inside << ... >> widely understood, do you think this
> would confuse a lot of people?
>
> Is the phrase "string literal" widely understood?
>
>
> Cheers
>
> /Joe
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120802/3cfc4ec2/attachment.htm>
More information about the erlang-questions
mailing list