4 ms·
>Every feature you have in C++, Rust does it better. IDK. I miss variadic functions (not macros) and being able to do certain simple things without resorting t
by scoutt 6y ago
>Every feature you have in C++, Rust does it better.
IDK. I miss variadic functions (not macros) and being able to do certain simple things without resorting to strange paradigms, like arbitrarily closing an std::fs::File without needing to go out of scope or calling drop. Things like that.
- 3836293648 6y agoHow is calling drop any different from calling close?
- scoutt 6y agoFor the practical case is not different. But is not coherent. It’s weird. And opening/closing files is an historical concept. Why “drop” is the opposite of “open”? Let’s change “open” for “lift” or “notdrop”.