• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    If you do named parameters in rust, you would need to set every parameter.

    If that’s the condition, yeah, it’s bad. The good thing about how Python handles it is that they can still be mandatory or optional. And that makes it a more flexible option than the builder pattern because it applies to any function or method.