struct

  • Ruby’s Building Blocks: When to Use What (And Why)

    Ruby gives us an abundance of organizational tools. Struct, Data, classes, modules as namespaces, modules as mixins, service objects, and the include/extend/module_function trinity. Each is well-documented individually, but there’s a gap: when…

    ·
    11–16 minutes
×