3 ms·
I love how Rust has so many footguns that you need to read a dozen blogs from no less than a month ago to avoid utter confusion.
by badrequest 4y ago
I love how Rust has so many footguns that you need to read a dozen blogs from no less than a month ago to avoid utter confusion.
- coder543 4y agoNow that's a strawman if I've ever seen one.
- anonymous_sorry 4y agoFootguns is the exactly what rust doesn't have. Some might criticise it for forcing you through a complex process to acquire a firearms license, selling you gun with an efficient safety and then insisting that you wear extremely heavily armoured shoes.
- friedman23 4y agoI consider footguns to be things that cause me to waste a ton of effort and build architecturally unsound code. The things in the article are actually just basic language concepts you need to understand to be productive. So to use the foot gun analogy, if you don't know the stuff in the article you wont even be able to pull the trigger. An actual footgun is something like monkeypatching in python or ruby. Or running for_each with an async callback in javascript.
- beoberha 4y agoQuite the opposite. Rust won’t even let you pull the trigger. C++ on the other hand is very much littered with footguns.