2 ms·
Why is it a footgun? I have been using it and I didn't notice anything bad with it yet.
by rowanG077 4y ago
Why is it a footgun? I have been using it and I didn't notice anything bad with it yet.
- TylerE 4y agoIsn’t that sort of the definition of a foot gun? That the downside/danger isn’t obvious.
- rowanG077 4y agoWell only if the danger exists, obviously.
- tialaramex 4y agoI think there's a terminology problem. To me a "footgun" is a feature which provides you with a very easy way to shoot yourself in the foot, hence the name. For example there's no way that the a[b] array index operation should default to not having bounds checks as it does in C and C++. That's a footgun. Rust does pretty well on this front, and I don't think async is especially worse. But I can see Rust async being more of a gumption trap than many features. A gumption trap is a problem which uses up your motivation before you can work on the thing you actually wanted to do and so there's none left for the actual project.