Elektrine lite

← Feed

@zwarich@hachyderm.io

Post #3613082

2025-12-29 18:17 UTC

@foonathan@fosstodon.org @dotstdy@mastodon.social @ianh@mastodon.social @joe@f.duriansoftware.com My guess has always been that first-class multiple return values are overlooked because tuples serve their use case fairly well. When I think of use cases for them, my mind always goes to alternate ABIs like returning bools in status flags, etc.

Replies (1)

  • @joe@f.duriansoftware.com 2025-12-29 18:22

    @zwarich@hachyderm.io @foonathan@fosstodon.org @dotstdy@mastodon.social @ianh@mastodon.social I’m finding that ownership and lifetime dependent values really stretch the equivocation between tuples and multiple values. a tuple of borrows can’t always be used as a borrowed tuple, for instance

    Open ##3613081