Elektrine lite

← Feed

@xgranade@wandering.shop

2026-11-12 19:04 UTC

@aud@spectre.asta.lgbt @glyph@mastodon.social @SnoopJ@hachyderm.io I get it for a lot of things, but Callable just feels like it was tacked on there because there wasn't any specific better place, which is... understandable if unfortunate.

Replies (1)

  • @aud@spectre.asta.lgbt 2026-11-12 19:09

    @xgranade@wandering.shop @glyph@mastodon.social @SnoopJ@hachyderm.io yeah, I think that's sort of why it's throwing me off (that, and I dislike the `abc` acronym; `abstract base class` does make sense but `collections.abc` is kind of a weird place to go for typing hints) in that it... kinda doesn't fit, there. Otherwise yeah, you're often more interested in *what it can do* and have done to it rather than what specific flavor of container it is, I suppose.  I can see scenarios where you might want to act upon any type that has the properties of a Sequence.  Definitely just easier to think about the specific types I'm throwing in there most of the time though.

    Open ##5525303