Fluent Python: Clear, Concise, and Effective Programming


Luciano Ramalho - 2015
    With this hands-on guide, you'll learn how to write effective, idiomatic Python code by leveraging its best and possibly most neglected features. Author Luciano Ramalho takes you through Python's core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.This book covers:Python data model: understand how special methods are the key to the consistent behavior of objectsData structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode ageFunctions as objects: view Python functions as first-class objects, and understand how this affects popular design patternsObject-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritanceControl flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packagesMetaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work"

Genius At Play: The Curious Mind of John Horton Conway


Siobhan Roberts - 2015
    He discovered the Conway groups in mathematical symmetry, and invented the aptly named surreal numbers, as well as the cult classic Game of Life--more than a cool fad, Life demonstrates how simplicity generates complexity and the game provides an analogy for all mathematics and the entire universe. Moving to Princeton in 1987, as a mathemagician he deployed cards, ropes, dice, coat hangers, and even the odd Slinky as props to extend his winning imagination and share his mathy obsessions with signature contagion. He is a jet-setting ambassador-at-large for the beauties of all things mathematical.Genius At Play is an intimate investigation into the mind of an endearing genius, laying bare Conway's personal and professional idiosyncrasies. The intimacy comes courtesy of the man himself. He generously granted Roberts full access, though not without the occasional grudge and grumble: "Oh hell," he'd say. "You're not going to put that in the book. Are you?!?