Plurrrr

Sat 17 Jun 2023

The best Python feature you cannot use

Instead of having to limit sanity checks to the boundaries of the program, we could re-use those as function contracts using the assert keyword. Indeed, setting PYTHONOPTIMIZE removes all assert, making the check useful in dev, and free in production.

Unfortunately, the community doesn't know about the feature, and use assert for things that should never be removed, so using the flag would likely introduce bugs into your program.

Source: The best Python feature you cannot use.

Ride Along 2 (2016)

As his wedding day approaches, Ben heads to Miami with his soon-to-be brother-in-law James to bring down a drug dealer who's supplying the dealers of Atlanta with product.

In the evening Adam, Alice, Esme, and I watched Ride Along 2. I liked the movie and give it a 7 out of 10.