<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: How to Safely Try Unknown Code</title>
	<link>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/</link>
	<description>Loren Shure  works on design of the MATLAB language at &#60;a href="http://www.mathworks.com/"&#62;The MathWorks&#60;/a&#62;. She writes here about once a week on MATLAB programming and related topics. &#60;br&#62;&#60;br&#62;&#60;a href="/images/loren-full.jpg"&#62;&#60;img src="/images/loren.jpg"&#62;&#60;/a&#62;</description>
	<pubDate>Mon, 23 Nov 2009 01:28:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Mark Hoemmen</title>
		<link>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-22243</link>
		<dc:creator>Mark Hoemmen</dc:creator>
		<pubDate>Tue, 27 Nov 2007 15:57:53 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-22243</guid>
		<description>Ha, yes, "more good ideas than time" should be considered a good thing, as it means our work is not yet done! ;-)

mfh</description>
		<content:encoded><![CDATA[<p>Ha, yes, &#8220;more good ideas than time&#8221; should be considered a good thing, as it means our work is not yet done! ;-)</p>
<p>mfh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-21667</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 19 Nov 2007 19:50:34 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-21667</guid>
		<description>Mark-

Lots more good ideas than time is the reason why.  It's certainly been requested and on the enhancement list for consideration.

--Loren</description>
		<content:encoded><![CDATA[<p>Mark-</p>
<p>Lots more good ideas than time is the reason why.  It&#8217;s certainly been requested and on the enhancement list for consideration.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hoemmen</title>
		<link>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-21653</link>
		<dc:creator>Mark Hoemmen</dc:creator>
		<pubDate>Mon, 19 Nov 2007 17:25:52 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-21653</guid>
		<description>Incidentally, why isn't

eig(rand(3))(2)

supported?  I find myself composing vector- or matrix-valued functions a lot (maybe because I'm a Lisp hacker instead of an old-school Fortran card-puncher ;-) ), and I find it awkward to create temp variables all the time.  Of course the notation can get hard to understand after composing a lot of functions, but two or three isn't too bad for someone who reads a lot of Lisp.

I'm happy to find your blog so now I have someone to pester about Matlab syntax ;-)  I'm very grateful, though, that the bugs in the Matlab 6.? parser have been fixed.  (There were certain matrix and function call expressions like

[foo (x), 1, 2]

in which the space between the function name "foo" and its argument list broke the parser.  Leaving a space between a function name and its argument list is a common habit among C coders who use GNU C formatting conventions.  Matlab 7 seems to have fixed this parser bug.)

Many thanks!</description>
		<content:encoded><![CDATA[<p>Incidentally, why isn&#8217;t</p>
<p>eig(rand(3))(2)</p>
<p>supported?  I find myself composing vector- or matrix-valued functions a lot (maybe because I&#8217;m a Lisp hacker instead of an old-school Fortran card-puncher ;-) ), and I find it awkward to create temp variables all the time.  Of course the notation can get hard to understand after composing a lot of functions, but two or three isn&#8217;t too bad for someone who reads a lot of Lisp.</p>
<p>I&#8217;m happy to find your blog so now I have someone to pester about Matlab syntax ;-)  I&#8217;m very grateful, though, that the bugs in the Matlab 6.? parser have been fixed.  (There were certain matrix and function call expressions like</p>
<p>[foo (x), 1, 2]</p>
<p>in which the space between the function name &#8220;foo&#8221; and its argument list broke the parser.  Leaving a space between a function name and its argument list is a common habit among C coders who use GNU C formatting conventions.  Matlab 7 seems to have fixed this parser bug.)</p>
<p>Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-20572</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Wed, 07 Nov 2007 02:51:55 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2007/11/02/how-to-safely-try-unknown-code/#comment-20572</guid>
		<description>Yes, Loren, this is just what I need - Thanks.  I try to write code that back-ports to older versions and attempts to be robust against possible future changes (putting try/catch around the use of deprecated functions, so the code works when the functions really get deleted in a future release, for example).

As an aside:  I like the suggested enhancement for subsref ... assuming it doesn't cause any chaos.  I'm sure MATLAB-golfers will like it too.

Sometimes ideas that look great on the surface get really nasty when you dig into the details, though ...  like the new bsxfun function (which works well) in contrast to extending the basic syntax to do the same thing (which doesn't work well at all but is very tempting to consider).</description>
		<content:encoded><![CDATA[<p>Yes, Loren, this is just what I need - Thanks.  I try to write code that back-ports to older versions and attempts to be robust against possible future changes (putting try/catch around the use of deprecated functions, so the code works when the functions really get deleted in a future release, for example).</p>
<p>As an aside:  I like the suggested enhancement for subsref &#8230; assuming it doesn&#8217;t cause any chaos.  I&#8217;m sure MATLAB-golfers will like it too.</p>
<p>Sometimes ideas that look great on the surface get really nasty when you dig into the details, though &#8230;  like the new bsxfun function (which works well) in contrast to extending the basic syntax to do the same thing (which doesn&#8217;t work well at all but is very tempting to consider).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
