5 ms·
Such fameous hacker like Zalewski should better distinguish language and library interfaces design issues.
by practicalrs 3y ago
Such fameous hacker like Zalewski should better distinguish language and library interfaces design issues.
- woodruffw 3y agoThis was my first thought as well. Rust certainly lends itself to unnecessarily complicated API designs, but so does C: OpenSSL requires something like 5-6 layers of indirection to do basic things like converting a sequence of X.509 structures into a buffer of PEMs. I've yet to discover a language that doesn't allow a sufficiently clever engineer paint themselves into a corner with API complexity. Even deliberately simple languages like Python suffer from this.
- mjb 3y agoYeah, this is just trolling. There's nothing inherent to rust that requires ( or even recommends) writing code like this. There's nothing inherent to C that prevents bad API designs like this. Nothing about this post is notable or interesting. It's low-effort rage bait.
- practicalrs 3y ago"There's nothing inherent to C that prevents bad API designs like this." I don't have any data to back this and library interface designs are so personal taste-prone, but I would say that the average Rust crate has a better API than the average C library.
- sumeruchat 3y agoSay that to corporate java writers. Language creates culture and this applies to human as much as computer.
- shrimp_emoji 3y agoSo my instinct to avoid Java at all costs wasn't irrational dysphoria after all!
- Sharlin 3y agoThe JavaEE APIs essentially set the example for everybody to then imitate. Of course it didn’t help that design patterns were in peak fashion. The Java core language is small, and most of the SE APIs aren’t particularly byzanthine. But EE then went all in for some reason.