Contribute Media
A thank you to everyone who makes this possible: Read More

PyOhio 2011: Data-Transfer Objects Are a Disease. Meet the Cure.

Description

Data-Transfer Objects are a Disease. Meet the Cure.

Presented by Aaron Oliver

Data Transfer Objects (DTOs) are commonplace. Every time you want to shuffle data and be object-oriented about it, you crank out a new class. But then someone extends it for their purposes. Badly. Then someone ELSE extends it AGAIN and makes thing worse. Learn what makes our brains want to create DTOs, how they've been (ab)used in the past, and how Python's namedtuple makes it all better.

Details

Improve this page