Загрузка страницы

Functions in Lua, Roberto Ierusalimshy, PUC-Rio: LIM'17 talk 1

First-class functions (a.k.a. closures, lambdas, anonymous functions) are a hallmark of functional languages, but they are a useful concept in imperative languages, too.

In most imperative languages, however, first-class functions are an advanced feature used by seasoned programmers. Lua, by contrast, uses first-class functions as a building block of the language. Lua programmers regularly benefit from diverse properties of its functions for routine constructions such as exception handling, module definitions, object-oriented programming, and iterators. Moreover, first-class functions play a central role in the API between Lua and C.

In this talk, we will discuss how the mechanism of first-class functions has impacted the design of Lua and will also glimpse at its implementation.

Slides: http://lua.moscow/conf/2017/#roberto

Видео Functions in Lua, Roberto Ierusalimshy, PUC-Rio: LIM'17 talk 1 канала Lua in Moscow
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
16 марта 2017 г. 1:46:48
00:55:43
Яндекс.Метрика