Join 📚 Kevin's Highlights

A batch of the best highlights from what Kevin's read, .

Python [decorators](https://realpython.com/primer-on-python-decorators/) are another popular and convenient use case for inner functions, especially for closures. **Decorators** are higher-order functions that take a callable (function, method, class) as an argument and return another callable.

Python Inner Functions: What Are They Good For?

Real Python

In [theoretical computer science](https://en.wikipedia.org/wiki/Theoretical_computer_science), the **CAP theorem**, also named **Brewer's theorem** after computer scientist [Eric Brewer](https://en.wikipedia.org/wiki/Eric_Brewer_(scientist)), states that any [distributed data store](https://en.wikipedia.org/wiki/Distributed_data_store) can provide only [two of the following three](https://en.wikipedia.org/wiki/Trilemma) guarantees: [Consistency](https://en.wikipedia.org/wiki/Consistency_model) Every read receives the most recent write or an error. [Availability](https://en.wikipedia.org/wiki/Availability) Every request receives a (non-error) response, without the guarantee that it contains the most recent write. [Partition tolerance](https://en.wikipedia.org/wiki/Network_partitioning) The system continues to operate despite an arbitrary number of messages being dropped (or delayed) by the network between nodes.

CAP theorem

wikipedia.org

![](https://lh5.googleusercontent.com/on0H0Ln1d-ZT7Ah3sgwapkfWOCL1kifT2G3FmfdWkY8MvpaAvaMvx-mubhjX-pr68wG-S5CO0_3lHLewU0fqTmD__YTIMKQypZ2WjheXJQ6_l-in9VJgctYpsgUwHlYFJg=w1200) [Q3] ONCE SOLD BY THE GIRL SCOUTS UNDER THE NAME “SAVANNAH SMILES,” **THIS LEMON COOKIE** PICTURED ABOVE SOUNDS LIKE IT’S MORE REFRESHING THAN OTHERS ZINGER Correct answers COOLER

Unnamed Document

Google Docs

...catch up on these, and many more highlights