F
About Blog
All
Git
Nix
Rust
Type Systems
  • Draft Understanding Structural vs Nominal Typing in Rust

    Rust Type Systems

    Discover the differences between structural and nominal typing in Rust, using examples to illustrate how Rust's type system impacts programming safety and flexibility. Compare Rust's approach to typing with Elm's, Roc's, and TypeScript's type systems, highlighting the unique aspects of each. This post offers an in-depth exploration of Rust's type system, equipping developers with insights into how different typing strategies can influence code design.

    Mar 17, 2024

    Read more
  • Draft The Cardinal Rules of Rust - Understanding Type Cardinality for Flawless Data Models

    Rust Type Systems

    Algebraic data types (ADTs) are a cornerstone of type theory in programming, providing a powerful framework for constructing and manipulating complex data structures. This post delves into the algebraic nature of Rust's type system, emphasizing the critical role of understanding a type's cardinality — that is, the total number of values a type can represent. This understanding is crucial for selecting the most appropriate data model, one that ensures impossible states are inherently unrepresentable. We explore the concepts of sum and product types, and highlight the intriguing way in which functions can be seen as exponentials within this algebraic framework.

    Mar 13, 2024

    Read more
  • Draft When Git Fails Silently

    Git

    Learn how Git's three-way merge can unexpectedly change your code, and explore strategies to avoid these pitfalls by always updating your branch before merging pull requests.

    Sep 17, 2023

    Read more
  • Draft An Overview of Nix

    Nix

    Delve into Nix: the solution to dependency hell. Discover how its unique approach to package management and declarative language simplify software deployment, ensuring reproducibility and reliability.

    Aug 11, 2022

    Read more
  • Draft Git Under the Hood

    Git

    This blog post demystifies the inner workings of Git by breaking down its core concepts into digestible sections. It covers Git Objects, Git References, and The Three Trees, using practical examples to illustrate how Git tracks changes. By exploring the .git folder's internal structure, readers will gain confidence in using Git more effectively.

    Mar 17, 2022

    Read more

© 2025 Felix Andreas.

Legal Notice