profile picture

3 pages tagged with "intermediate"

Rust Trait Implementations and References

February 22, 2023 - 1475 words - 8 mins
If you implement a trait on a type, and then take a reference to that type, does the reference also implement the trait? For a while I thought so! Let me explain why. Sometimes the things that Rust does for you can obfuscate what's really going on under the hood, and I discovered one of those recent…
Read more …

Stupid Things I've Done With Python

December 05, 2020

Sometimes I do stupid things with Python. I'm not proud of it.

Okay, I am proud of it.

See more …

Pythonic Refactoring: Protecting Your Users From Change

July 14, 2017

So you've released a library! Now you need to maintain it. You want to add features, restructure the code, fix bugs, and maybe improve the library's usability. Your users just want their code to carry on working. That's okay!

See more …