Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Why does everyone hate 'eval'?
Date: Thu, 11 Dec 2008 21:57:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <ghs2be$eet$1@fred.mathworks.com>
References: <ghrlim$oqo$1@fred.mathworks.com> <ghromj$f8g$1@fred.mathworks.com> <ghrplu$4in$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229032622 14813 172.30.248.37 (11 Dec 2008 21:57:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 11 Dec 2008 21:57:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1361059
Xref: news.mathworks.com comp.soft-sys.matlab:506433



> Now, if everything could be done without eval, why is it still there?

One of the reasons why is because, despite being considered doomed,
Matlab still uses it alot.
Take, for examle, the spline toolbox and do a grep for eval on the .m files