note 54543 added to function.create-function

From: Date: Thu, 07 Jul 2005 12:46:42 +0000
Subject: note 54543 added to function.create-function
Groups: php.notes 
Request: Send a blank email to php-notes+get-91594@lists.php.net to get a copy of this message
This is the most retarded way for functions to be implemented. Yes, it is equivalent to calling eval. That should NOT be the case. It is quite possible to implement function creation special form that DOES NOT require loading the evaluator/compiler at run-time. Whenever I see "features" like this, I want to kick the morons who "designed" this language. Is it really that hard to go read a book about how programming languages are SUPPOSED TO BE designed? There is no reason why anonymous functions should be inefficient. Is it too much to ask to have proper lexical scope in a language these days, too? Sigh. ---- Manual Page -- http://www.php.net/manual/en/function.create-function.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54543 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54543&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54543&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91594) next »