[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variable names
From: |
H. S. Teoh |
Subject: |
Re: Variable names |
Date: |
Thu, 7 Jan 2016 12:13:11 -0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Jan 07, 2016 at 08:59:22PM +0100, Johan Vromans wrote:
> I assume there have been discussions on extending the syntax for LP
> identifiers to include dashes and underscores. My personal opinion is
> that a non-alpha separator is good to have, but two different
> separators may quickly become confusing. Is it 'set_variable' or
> 'set-variable'?
>
> Given the relation between LP and Guile, I'd suggest to only allow the
> dash and disallow the underscore (by syntax rule, not just by
> convention).
[...]
I think extending identifiers to include '-' and '_' is a bad idea. They
introduce ambiguities in cases like:
c1\myCustomMarkup_"text"-\pp-\moreCustomMarkup-.
T
--
Customer support: the art of getting your clients to pay for your own
incompetence.
- Variable names, Johan Vromans, 2016/01/07
- Re: Variable names,
H. S. Teoh <=