• soc@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 days ago

    Some of the earlier ones remind me of C#'s records. Were they inspired from them?

    No, that stuff is much much older.

    Named parameters are problematic because of parameter names becoming significant to the API. See Python’s * and / in parameter lists (like def foo(a, *, b) for example).

    I think the name problem is overblown, you can always have an annotation to facilitate name changes.