unsafeCode
unsafeCode
unsafeCode
Strictly speaking, it should be
Unsafe block syntax in C++
{ ...}
Safe code is a skill, not a feature.
i will never forgive C for making the type syntax be
c
char* args[]
instead of the much more reasonable
c
&[char] args
it also bothers me that char* args[]
and char c
are “the same type” in the sense that the compiler lets you write
c
char c, *args[5];
with no problems. i think the C languages would be way easier to learn if they had better type syntax. don’t even get me started on C++ adding support for
cpp
auto fn_name() -> ReturnType { … }
@affiliate Hey, you didn't even mention that char *args[]
actually means char **args
in a parameter list.
counterpoint: all code is unsafe. retvrn to abacuses
But I was hit over the head with one, that wasn't safe either!