Luciano Ramalho

Number of videos:
4
Pingo means "pin, go!"
ChiPy
Luciano Ramalho
Recorded: July 9, 2014Language: English
Iteration & Generators: the Python Way
PyCon US 2013
Luciano Ramalho
Recorded: March 17, 2013Language: English

Did you know that "for a, (b, c) in s:" is a valid Python line? From the elegant for statement through list/set/dict comprehensions and generator functions, this talk shows how the Iterator pattern is so deeply embedded in the syntax of Python, and so widely supported by its libraries, that some of its most powerful applications can be overlooked by programmers coming from other languages.

Encapsulation with descriptors
PyCon US 2013
Luciano Ramalho
Recorded: March 15, 2013Language: English

Python has no private fields, but the property decorator lets you replace public attributes with getters and setters without breaking client code. And the descriptor mechanism, used in Django for model field declarations, enables wide reuse of getter/setter logic via composition instead of inheritance. This talk explains how properties and descriptors work by refactoring a practical example.

38. ABC: the mother of Python
PyCon US 2012
Luciano Ramalho
Recorded: March 11, 2012Language: English

Before Python, Guido was a contributor to the ABC language and environment. ABC was designed to teach programming, and introduced many "Pythonic" ideas: integrated dicts and tuples, structure by indentation, strong typing without declarations etc. With high demand for Python in education, the legacy of ABC is more relevant than ever as we design courses and environments for learners.