GET /api/v2/video/554
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyTexas 2011", "language": "English", "slug": "simplify-your--python--life", "speakers": [ "Sameer Khan" ], "tags": [], "id": 554, "state": 1, "title": "Simplify your (Python) Life", "summary": "We'll go over some intermediate to advanced topics and consider pros and cons\nof choosing the simpler approach vs. the possibly more complicated or\nredundant one. The aim is to reduce the number of language APIs and constructs\nmost programmers have to carry in their head to a smaller and more coherent\nset. Along the way some best practices will also be discussed that are at a\nhigher level than things that can be flagged by automated syntax checking\ntools such as pylint, pyflakes, etc.\n\n", "description": "Following are the topics we'll cover:\n\n * Language/API design and how warts can creep into even well designed products over time.\n * \"Worse is better\" approach may be good enough (\"satisficing\").\n * An eclectic mix of language constructs that usually trip newcomers--and sometimes even experienced programmers--which we'll survey:\n 1. __new__\n 2. __del__\n 3. __call__\n 4. __slots__\n 5. classmethod vs. staticmethod\n 6. decorators (guidelines for writing your own)\n 7. class decorators vs. metaclasses\n 8. delegation via getattr\n 9. Interfaces and getattr\n * We'll see how delegation and interfaces tie into the thinking behind GoF Design Patterns.\n\n", "quality_notes": "Video is blank for first minute.", "copyright_text": "", "embed": "", "thumbnail_url": "", "duration": null, "video_ogv_length": 238290401, "video_ogv_url": null, "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "", "video_mp4_download_only": false, "video_webm_length": null, "video_webm_url": null, "video_webm_download_only": false, "video_flv_length": null, "video_flv_url": null, "video_flv_download_only": false, "source_url": "", "whiteboard": "", "recorded": null, "added": "2012-02-23T04:20:00", "updated": "2014-04-08T20:28:25.914" }