[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: |
Wed, 19 Sep 2012 21:04:42 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Sep 19, 2012 at 12:48:42PM -0400, Judd Storrs wrote:
> In my code, using bsxfun allowed me achieve massive performance gains in my
> workload at the price of readability. But now with broadcasting I get the
> performance gains without losing readability--in fact it's even more
> readable than the loop form! Further, this decision wasn't made lightly and
> it was discussed to death. Ultimately, even with broadcasting enabled,
> Octave is fully capable of running valid Matlab code. We've been waiting
> for someone to show *actual* harm from the change.
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.
Thomas
- Re: forking, (continued)
- Re: forking, Thomas Weber, 2012/09/19
- Re: forking, Ben Abbott, 2012/09/19
- Re: Octave and cargo cult programmingHello, Michael Goffioul, 2012/09/19
- Re: Octave and cargo cult programmingHello, Dan Muresan, 2012/09/19
- 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 <=
- 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, 2012/09/22
- 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