2 ms·
> But it cant really present the million of other types of vulnerabilities, such as mis-configuration, wrong logic in the code, races, etc It can prevent multi
by josteink 8y ago
> But it cant really present the million of other types of vulnerabilities, such as mis-configuration, wrong logic in the code, races, etc
It can prevent multiple types of data-races.
It has nullable-types as an option (I.e. not the default), and not checking for null is a type-error flagged by the compiler.
It has checked array-access, preventing out of bound reads.
It has immutability by default, preventing accidentally modifying data meant to stay constant.
Etc etc.
All of this together help creating higher quality, more secure code.
If you can have all those errors go away for “free”, why choose a language like C where all of these errors are possible?