 
      
    | You are here | tech.preferred.jp | ||
| | | | | florimond.dev | |
| | | | | Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects. | |
| | | | | jmmv.dev | |
| | | | | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it. | |
| | | | | ruudvanasseldonk.com | |
| | | | | I am adding a type system to RCL, my configuration language. In part 1, I explain what I want from the type system. | |
| | | | | chrisfrew.in | |
| | | Perfect for mocking complex types in unit or integration tests! | ||