4 ms·
But if the comparison is with C++, then they would both rank equally poorly here, because C++ doesn't want to behave differently. If you write code like that i
by ohazi 5y ago
But if the comparison is with C++, then they would both rank equally poorly here, because C++ doesn't want to behave differently.
If you write code like that in C frequently (e.g. working with system registers on embedded CPUs), you do eventually get used to explicitly casting defensively, and I agree that it's nice that you get saner defaults in e.g. Rust.