News for hackers. Stuff that matters.
Re:Game Development Essentials #1 - Don’t use inheritance fo... by delinka on Tuesday February 07, 2012 @06:44AM (#3561375)
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

Re:Game Development Essentials #1 - Don’t use inheritance fo... by Lewton on Tuesday February 07, 2012 @08:37AM (#3561665)
The 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:"