octave-maintainers
[Top][All Lists]
Advanced

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

Re: the competition's expm vs ours


From: Jaroslav Hajek
Subject: Re: the competition's expm vs ours
Date: Wed, 10 Dec 2008 19:32:47 +0100

On Wed, Dec 10, 2008 at 2:32 PM, John W. Eaton <address@hidden> wrote:
> On 10-Dec-2008, Jaroslav Hajek wrote:
>
> | from you I just picked at random, namely 349a555729a9 (8353 in
> | Savannah) violates the guidelines: It contains tabs, contrary to our
> | convention.
>
> Not that I care all that much one way or the other about this
> convention, but I think you added it to the standards prior to any
> discussion about it (that I remember) :-)
>

Well, I think you sort of reviewed the guidelines and agreed to them.
I hope at least. It wasn't my idea, I got it from here:
http://www.jwz.org/doc/tabs-vs-spaces.html (and a couple of other
sources).
In any case, I tried hard to make the issue known and anyone objecting
to any part was certainly free to raise a discussion (and still is, of
course).

> In any case, I agree that just having the "mode: c++" setting in the
> emacs variables block is not all that helpful.  And adding a lot of
> specific c++ mode variable settings would not be very good.  So I'm
> happy to just drop them.  We can add a list of Emacs (and Vim and
> whatever) c++ mode settings to the coding conventions section of the
> manual if anyone cares.

I think that's the best solution.

> I don't use anything special, just what Emacs
> c++ mode does by default, but then I tend to fix a few things that it
> does and that I think are strange.

Exactly what I do with Vim. For instance, inside classes, when I want
to put a function name on a separate line, Vim for some reason insists
on indenting that line and I found no built-in setting to make him not
to.

> But it does not matter to me all
> that much as long as we have a mostly consistent style.  Just don't
> make me gag by writing things like
>
>  void*vPtr=pMyAwesomeFunction( dVarTheFirst,iVarTheSecond );
>
> or
>
>  for(;;){
>          theloveofgod(and,all,that,is,good);
>          usesomefreakingwhitespace();
>          formore(than,just,indenting);
>  }
>
> or similar in the Octave sources.  :-)
>
> jwe
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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