3 ms·
> Writing data structures such as graph is just as common as writing if then else... I disagree. For everyone involved -- designing data structures should be
by wyldfire 10y ago
> Writing data structures such as graph is just as common as writing if then else...
I disagree. For everyone involved -- designing data structures should be a less frequent activity than designing flow control IMO.
While I would consider it part of a foundation of one's foray into computer science, it's not a common activity of most programmers. (Note the distinction between these educational/occupational terms.) Most people just don't do this often.
The fact that Rust enables very simple composition via crates means that we really can all use petgraph without much indigestion. The risk this enables is that we become dependent on critical packages like this. Hopefully we all got a glimpse of the left-pad awfulness and learned how to avoid the same problems for Rust.
- steveklabnik 10y ago> Hopefully we all got a glimpse of the left-pad awfulness and learned how to avoid the same problems for Rust. Crates.io is never gonna have the left-pad issue, by design. npm also changed their policies after left-pad so it can't happen there again, too.