Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Just Because You Can, Doesn't Mean You Should

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the pitfalls of overly complex Python library design in this 39-minute EuroPython conference talk. Delve into common antipatterns that can negatively impact flexibility, readability, and predictability for users. Examine specific examples in API design, including type checking, graph classes, resource management, and networking. Learn why convenience features may compromise overall usability and how to strike a balance between powerful functionality and maintainable code. Gain insights on creating more effective and user-friendly Python libraries that prioritize clarity and predictability over unnecessary complexity.

Syllabus

Introduction
Highlevel concepts
Type checking
What your function needs
Type dispatch
Graph class
Problem with API
Create a graph
Provide API
Guess Work
Resource Management
Filelike Objects
Path Libraries
Network
StatsD
Protocol Assembly
Networking
API Clients
HTTP Client
Request Header
Cookies
Convenience vs Compromise
Accessing Cookies
CSS Selection
General API Stuff
Why Not
Summary
Comments

Taught by

EuroPython Conference

Reviews

Start your review of Just Because You Can, Doesn't Mean You Should

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.