Source: Using Nix on macOS, an article by Stephen Checkoway.
This post introduces some patterns and tricks to better utilise Rust's type system for clean and safe code.
This post is on the advanced side and in general there are no absolutes - these patterns usually need to be evaluated on a case-by-case basis to see if the cost / benefit trade-off is worth it.
Source: Design Patterns with Rust Types.
asdfis a tool version manager. All tool version definitions are contained within one file (
.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.
The old way of working required multiple CLI version managers, each with their distinct API, configurations files and implementation (e.g.
$PATHmanipulation, shims, environment variables, etc...).
asdfprovides a single interface and configuration file to simplify development workflows, and can be extended to all tools and runtimes via a simple plugin interface.