• @[email protected]
    link
    fedilink
    English
    11 year ago

    Objects are just the poor man’s closures. I really hate it when libraries like urllib impose a multi-class object nesting paradigm when a simple multi argument function would be better in every way

    • Baldur Nil
      link
      fedilink
      English
      21 year ago

      Yeah but sometimes you want something that has mutable state over time, and it’s easier to pack it into a self-contained thing.