octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quotation characters in the Octave sources


From: Mike Miller
Subject: Re: quotation characters in the Octave sources
Date: Wed, 26 Jun 2019 10:19:14 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Jun 24, 2019 at 16:01:41 -0400, John W. Eaton wrote:
> Recently I've noticed the use of various characters for quotation marks in
> the Octave sources, including ASCII apostrophe, grave accent, acute accent,
> and Unicode left/right single quotation marks.  I'd like to come up with a
> uniform guideline for these characters, fix the sources, and try to stick
> with it in the future.

I assume you mean quotation marks used in strings that are presented to
the user? Or do you mean something else?

I agree with consistency, and I tend to prefer the look of double
quotes, for example in this error message:

    >> exist ("x", "foo")
    error: exist: unrecognized type argument "foo"

rather than single quotes, for example in this error message:

    >> sum (10, "foo")
    error: sum: unrecognized type argument 'foo'

But either way, yes to consistency.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]