sus@programming.dev to Programmer Humor@programming.dev · 4 个月前Python has a library for everything but..programming.devimagemessage-square36fedilinkarrow-up1405arrow-down110
arrow-up1395arrow-down1imagePython has a library for everything but..programming.devsus@programming.dev to Programmer Humor@programming.dev · 4 个月前message-square36fedilink
minus-squaredudinax@programming.devlinkfedilinkarrow-up12arrow-down1·4 个月前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.
minus-squareKindaABigDyl@programming.devlinkfedilinkarrow-up10·4 个月前I find Rust crates generally have pretty good docs. Docs.rs is a major time saver
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.
I find Rust crates generally have pretty good docs. Docs.rs is a major time saver