• dudinax@programming.dev
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    2 months ago

    Rust crates have the second and third problems.

    Rust at least has type annotation.

    The type has private fields. There’s no constructor. There’s no implementation of the From trait except on itself. You can’t find a function anywhere that returns the type.