I’m still digesting this one and haven’t formed any strong opinions yet.

I’ve had problems in the past where this could have been useful, like ingesting millions of lat/long positions and trying to string them together in a “trail”. But, I was still able to handle that fine with namedtuple without too much pain.

Thoughts?

  • artificial_unintelligence
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I don’t hate the idea. I feel like namedtuple works well enough. Maybe better effort could be making namedtuple behave more like a struct? Or some new type like frozennamedtuple?