In computer science, an evaluation strategy is a set of (usually deterministic) rules for evaluating expressions in a programming language. Emphasis is typically placed on functions or operators: an evaluation strategy defines when and in what order the arguments to a function are evaluated, when they are substituted into the function, and what form that substitution takes. The lambda calculus, a formal system for the study of functions, has often been used to model evaluation strategies, where...
In computer science, an evaluation strategy is a set of (usually deterministic) rules for evaluating expressions in a programming language. Emphasis is typically placed on functions or operators: an evaluation strategy defines when and in what order the arguments to a function are evaluated, when they are substituted into the function, and what form that substitution takes. The lambda calculus, a formal system for the study of functions, has often been used to model evaluation strategies, where they are usually called reduction strategies. Evaluation strategies divide into two basic groups, strict and non-strict, based on how arguments to a function are handled. A language may combine several evaluation strategies; for example, C++ combines call-by-value with call-by-reference. Most languages that are predominantly strict use some form of non-strict evaluation for boolean expressions and if-statements.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.
Во льдах сурового Ледовитого океана терпит бедствие полярная станция "Зет". Пожар, возникший на ее территории, погубил половину сотрудников, оставив уцелевших без тепла, пищи и света. На помощь пострадавшим спешит американская атомная субмарина "Дельфин", которой предстоит выполнить смертельно опасную спасательную операцию. А вскоре выясняется, что станция сгорела вовсе не случайно... Перевод:...
Оставить комментарий