Erlang: Dispatching closures (OOP style object implementation in FP)

3 years ago
203

A talk-through of a tutorial example of how classes and objects work by implementing them in a functional language (in this case Erlang, but it could be any other language just as well) and a discussion of why functional languages typically lack the keyword "class" entirely.

Original blog post here: https://zxq9.com/archives/1838
GitLab snippet of the code in the video: https://gitlab.com/-/snippets/2018486
"Objects are a poor man's closures!" (OOPsy coders hate it when I say that...)

Loading comments...