Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

Writing Python like it's Rust

Found on 20 May 2023 via Mastodon 450

via Rust Weekly: Blog post: Writing Python like it’s Rust

Kobzol’s blog: Writing Python like it’s Rust

Key quote:

Eventually, I started adopting some concepts from Rust in my Python programs. It basically boils down to two things – using type hints as much as possible, and upholding the good ol’ making illegal states unrepresentable principle.

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: