Great article.
To expand a little on why “Keep It Simple” is so powerful: less code = less bugs and less security issues. Less code = easier to change.
To expand a little on why “Keep It Simple” is so powerful: less code = less bugs and less security issues. Less code = easier to change.
The simplest example in PHP (highlighted in the article for its default-insecurity):
echo '<h1>Hello ' . $_GET['name'] . '</h1>';
is vulnerable to XSS. echo '<h1>Hello ' . htmlentities($_GET['name']) . '</h1>';
is not vulnerableI think it creates severe cultural problems. It creates the belief that problems are more difficult than they might be, it creates the belief that a particular solution may be more valuable than it actually is, and then it biases future team expansion and retention. Perhaps more ultimately, if the complexity creeps in before the real challenge gets do, it radically affects the team’s ability to reason about it.