caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Mattias Engdegård" <mattias@virtutech.se>
To: martin.jambon@ens-lyon.org, caml-list@inria.fr, michel.levy@imag.fr
Subject: Re: [Caml-list] accented letters in identifiers
Date: Thu, 8 Mar 2007 11:00:31 +0100	[thread overview]
Message-ID: <200703081000.l28A0VJ16234@virtutech.se> (raw)
In-Reply-To: <Pine.LNX.4.58.0703071455040.5143@localhost> (message from Martin Jambon on Wed, 7 Mar 2007 14:59:48 -0800 (PST))

>I mean no. It is possible to use latin1 accents.
>
>[but I think it's best to avoid them in general and use pseudo-English
>identifiers]

For published code, certainly, but in general I think it is for the
programmer to decide. After all, not using our native language makes
us stupider, and using familiar names for identifiers can be important
when teaching programming.

What I have against the OCaml lexer is that it chops off the diacritics,
so that smörgårdsbord == smorgardsbord. This may work in French, but
is completely wrong in Swedish where o and ö are two completely
different letters. (Accent-sensitivity might be a good idea for French
as well, as it would enforce consistency.)

And latin-1 is a bit quaint these days; it's not even enough for French.
Let's support utf-8! Apart from being vastly more linguistically
inclusive, it would allow us scientific programmers to use Greek letters.


  reply	other threads:[~2007-03-08 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 22:38 michel levy
2007-03-07 22:40 ` [Caml-list] " Martin Jambon
2007-03-07 22:59   ` Martin Jambon
2007-03-08 10:00     ` Mattias Engdegård [this message]
2007-03-08 21:10       ` Richard Jones
2007-03-08 21:11     ` Martin Jambon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703081000.l28A0VJ16234@virtutech.se \
    --to=mattias@virtutech.se \
    --cc=caml-list@inria.fr \
    --cc=martin.jambon@ens-lyon.org \
    --cc=michel.levy@imag.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).