MWMerlin Wellingtoninwizardcraftcode.hashnode.dev·Jun 26 · 5 min readStop Forcing Classes Into Rust: Methods vs. Free FunctionsIf you learned to program in an object-oriented language, you were taught that data and the functions that operate on that data belong together—bound forever inside a class framework. When you come to00
MWMerlin Wellingtoninwizardcraftcode.hashnode.dev·Jun 17 · 3 min readYour Getters are Ruining Your Rust CodeComing to Rust from object-oriented languages like Java, C++, or C# creates a dangerous form of muscle memory. In the object-oriented paradigm, encapsulation dictates a simple rule: hide your struct f00