3 ms·
I've seen articles (book chapters, blog posts, usenet rants, etc) for years similar in intent. "Don't use language feature X because it can be misused and abuse
by delinka 15y ago
I've seen articles (book chapters, blog posts, usenet rants, etc) for years similar in intent. "Don't use language feature X because it can be misused and abused."
If we took all the advice offered by such articles, we'd all be using a procedural language with few features. ASM perhaps. Humans have various mental models when it comes to the world, technology, computing, and programming languages. Humans tend to make mistakes. The benefits of modern programming languages necessarily allow the human programmer to screw things up.
How about instead of "avoid X" we learn how to use X properly? We point out the disadvantages in certain situations rather than insisting on complete avoidance of X.
hythloday has the right idea here: http://news.ycombinator.com/item?id=3561182 http://news.ycombinator.com/item?id=3561182
- Lewton 15y agoThe article didn't say "Don't use language feature X because it can be misused and abused." It said "Don't use language feature X in this fairly specific situation and here's why:"