Computational Frameworks for Political and Social Research with Python by Josh Cutler & Matt Dickenson
Author:Josh Cutler & Matt Dickenson
Language: eng
Format: epub
ISBN: 9783030368265
Publisher: Springer International Publishing
7.1 Application Programming Interfaces (APIs)
You already knew about APIs before reading this chapter, even if you did not realize it. If we relax the formal definition for a moment and just think of APIs as contracts for message passing, you have already done this when implementing functions. For example, in Python the code:
has a contract to accept the argument bar and print its representation.
Building on this, what should a good API do besides take input and return output? First, it should let the customer know when an error has occurred (and, ideally, how to fix it). Second, an API should only throw documented exceptions. Third, APIs should be self-documenting, meaning that variable and method names are clear and human-readable.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Weapons of Math Destruction by Cathy O'Neil(4613)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(3789)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(2620)
Descartes' Error by Antonio Damasio(2547)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(2525)
TCP IP by Todd Lammle(2432)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2306)
The Book of Numbers by Peter Bentley(2258)
The Tyranny of Metrics by Jerry Z. Muller(2256)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2254)
The Great Unknown by Marcus du Sautoy(2046)
Once Upon an Algorithm by Martin Erwig(2013)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(1984)
Easy Algebra Step-by-Step by Sandra Luna McCune(1960)
Lady Luck by Kristen Ashley(1945)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(1902)
Police Exams Prep 2018-2019 by Kaplan Test Prep(1894)
All Things Reconsidered by Bill Thompson III(1871)
Secrets of Creation, Volume 1: The Mystery of the Prime Numbers by Watkins Matthew(1776)
