Re: Is there a logic to [1:3] being a warning?
- From: "Daniel Armyr" <firstname@xxxxxxxxxxx>
- Date: Wed, 2 Sep 2009 15:10:30 +0000 (UTC)
Anyway, I was talking to one of the developers this morning, and he told me
about another motivation for M-Lint flagging the use of square brackets
around a vector. In fact, when I did a little searching, I found this is
something that Loren wrote about a little over three years ago in this blog
post:
http://blogs.mathworks.com/loren/2006/07/12/what-are-you-really-measuring/
That is an argument I buy.
I like to run warning-free code. When I am building vectors for development and testing purposes I constantly modify them, going from simple counters to more exotic concatenations. I end up doing alot of erasing and rewriting of the square brackets to eliminate the warnings. As I use a swedish keyboard, the [] are on alt-keys as well, making them extra slow to type giving me the motivation to argue this admittedly trivial issue.
.
- References:
- Is there a logic to [1:3] being a warning?
- From: Daniel Armyr
- Re: Is there a logic to [1:3] being a warning?
- From: Jos
- Re: Is there a logic to [1:3] being a warning?
- From: Daniel Armyr
- Re: Is there a logic to [1:3] being a warning?
- From: Jos
- Re: Is there a logic to [1:3] being a warning?
- From: us
- Re: Is there a logic to [1:3] being a warning?
- From: Daniel Armyr
- Re: Is there a logic to [1:3] being a warning?
- From: Doug Schwarz
- Re: Is there a logic to [1:3] being a warning?
- From: Bruno Luong
- Re: Is there a logic to [1:3] being a warning?
- From: Steven Lord
- Re: Is there a logic to [1:3] being a warning?
- From: Bruno Luong
- Re: Is there a logic to [1:3] being a warning?
- From: Doug Schwarz
- Re: Is there a logic to [1:3] being a warning?
- From: Bruno Luong
- Re: Is there a logic to [1:3] being a warning?
- From: Steve Eddins
- Re: Is there a logic to [1:3] being a warning?
- From: Bruno Luong
- Re: Is there a logic to [1:3] being a warning?
- From: Steven Lord
- Re: Is there a logic to [1:3] being a warning?
- From: Bruno Luong
- Re: Is there a logic to [1:3] being a warning?
- From: Steven Lord
- Is there a logic to [1:3] being a warning?
- Prev by Date: Re: For Loop to Matrix Operation
- Next by Date: Re: Is there a logic to [1:3] being a warning?
- Previous by thread: Re: Is there a logic to [1:3] being a warning?
- Next by thread: Re: Is there a logic to [1:3] being a warning?
- Index(es):
Relevant Pages
|