3 ms·
it is safer. because you have to make the explicit cast, which either the compiler or a linter can, and should, warn you about. and your post does not illustr
by zabzonk 4y ago
it is safer. because you have to make the explicit cast, which either the compiler or a linter can, and should, warn you about.
and your post does not illustrate a macro. and if it did, the compiler/linter could diagnose it.
- uecker 4y agoThis is the fallacy: A cast does not make code safer you have to use it for regular code that has no issue. Because a linter warning about that is just noise. By example illustrated a bug in the C++ code hidden by the cast.