The short answer is that it is difficult to write perfect code.
The more complex the task, the more often you have to choose between “quick and dirty” and “long and careful” coding.
For example, SQL had a famous “vulnerability” where a person putting the following data into an input would mess things up at the other end.
DROP TABLES
this is so famous there is an XKCD comic
https://xkcd.com/327/
Latest Answers