[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave and cargo cult programmingHello
From: |
Thomas Weber |
Subject: |
Re: Octave and cargo cult programmingHello |
Date: |
Sat, 22 Sep 2012 15:10:29 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Sep 21, 2012 at 09:27:49AM -0400, Judd Storrs wrote:
> On Wed, Sep 19, 2012 at 3:04 PM, Thomas Weber <address@hidden> wrote:
>
> > The example is in the documentation, under "Broadcasting and Legacy
> > Code". If you have code that relies on catching the mentioned error, you
> > can either change Octave's default behaviour or you can change your code -
> > but you cannot run previously working, _unchanged_ code with the
> > _default_ Octave behaviour.
> >
> > And actually I don't think Sergei was wading through Octave's source
> > code to find something to criticise - I bet he has previously working
> > code that doesn't work anymore.
> >
>
> Seriously? That example is a completely synthetic tautology. I insist that
> anyone typing anything remotely similar to that example (let alone *rely*
> on it) should have their keyboard license revoked--even if broadcasting
> didn't exist!
I will repeat it again: Octave has broken previously working code. It
doesn't matter if you like the code, its style or the editor it was
written with - it worked before and doesn't work any longer.
> If destroying that type of code is a "strategic failure", I don't want
> to be on the right track.
ROFL. You and I have no idea why code was written as such. It can easily
happen that everyone involved agrees that a solution is bad, but still
the best option in a specific situation.
And btw, what is so bad about this kind of code?
> The only time issues with broadcasting come up is when developing new
> code or by sending invalid input. If there was any actual broken
> legacy code, it's time for specifics and evidence.
WTF? Sergei has broken code or why do you think he posts here? If a
warning appears now about broadcasting, earlier versions of Octave have
errored out. In other words, he expected and dealt with the error. I
don't need to see any code, the examples are trivially created - if it
broadcasts now, it was an error earlier. And people obviously expected
and dealt with these errors.
Thomas
- Re: Octave and cargo cult programmingHello, (continued)
- Re: Octave and cargo cult programmingHello, Michael Goffioul, 2012/09/19
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/19
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/19
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/19
- Re: Octave and cargo cult programmingHello, Thomas Weber, 2012/09/19
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/19
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/20
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/20
- Re: Octave and cargo cult programmingHello, Ben Abbott, 2012/09/20
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/21
- Re: Octave and cargo cult programmingHello,
Thomas Weber <=
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/22
- Re: Octave and cargo cult programmingHello, Francesco Potortì, 2012/09/19
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/20
- Re: Octave and cargo cult programmingHello, Michael Goffioul, 2012/09/20
- Re: Octave and cargo cult programmingHello, Przemek Klosowski, 2012/09/20
- Re: Octave and cargo cult programmingHello, Jordi Gutiérrez Hermoso, 2012/09/19
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/13
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/13
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/13