YoVDO

Just Because You Can, Doesn't Mean You Should

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Graph Theory Courses API Design Courses

Course Description

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

Related Courses

Aplicaciones de la teoría de grafos a la vida real
Miríadax
Aplicaciones de la Teoría de Grafos a la vida real
Universitat Politècnica de València via UPV [X]
Introduction to Computational Thinking and Data Science
Massachusetts Institute of Technology via edX
Genome Sequencing (Bioinformatics II)
University of California, San Diego via Coursera
Algorithmic Information Dynamics: From Networks to Cells
Santa Fe Institute via Complexity Explorer