Talk:Evaluation function

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WikiProject Chess (Rated Stub-class, Low-importance)
WikiProject iconThis article is within the scope of WikiProject Chess, a collaborative effort to improve the coverage of Chess on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 

Eval[edit]

Shouldn't this page also mention something about an evaluation function as in a function that takes a datastructure representing code, evaluates the code, and returns its result? Like the eval function in standard PHP. Wouter Lievens 14:34, 19 May 2006 (UTC)

Reasonable point. Many languages have such an eval function. Python, Java, etc. That concept is very common in the functional programming paradigm, going back decades to the earliest Lisp dialect, or earlier. In such languages, a program is not really "executed" per se — the programmer codes up a big nested structure of functions and data and then evaluates it, which returns a result.
This is a different concept than what the current article is about, so if you want to start another article, there's no harm in trying. You could add a disambig line at the start of this article. But I'm not really sure if the concept you're talking about warrants an entire article, or even what you'd call it. --Ds13 19:22, 19 May 2006 (UTC)
There's the eval article. I now added the following to the top of the article.
--Amit 07:45, 12 October 2007 (UTC)