MMerlin WellingtonJun 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 towizardcraftcode.hashnode.dev
MMerlin WellingtonJun 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 fwizardcraftcode.hashnode.dev