Nine Rust Cargo.toml Wats and Wat Nots | Towards Data Science

In JavaScript and other languages, we call a surprising or inconsistent behavior a "Wat!" [that is, a "What!?"]. For example, in JavaScript, an empty array plus an empty array p...

By · · 1 min read
Nine Rust Cargo.toml Wats and Wat Nots | Towards Data Science

Source: Towards Data Science

In JavaScript and other languages, we call a surprising or inconsistent behavior a "Wat!" [that is, a "What!?"]. For example, in JavaScript, an empty array plus an empty array produces an empty string, [] + [] === "". Wat! At the other extreme, a language sometimes behaves with surprising consistency. I’m calling that a "Wat […]