Monday, June 9, 2008

Lies We Tell New Programmers

Do We tell lies to the new programmers like our kids? Paul Graham wrote an essay to explain why and how we lies to our kids. Paul wrote:

Here parents' desires conflict. Older societies told kids they had bad judgement, but modern parents want their children to be confident. This may well be a better plan than the old one of putting them in their place, but it has the side effect that after having implicitly lied to kids about how good their judgement is, we then have to lie again about all the things they might get into trouble with if they believed us.

If parents told their kids the truth about sex and drugs, it would be: the reason you should avoid these things is that you have lousy judgement. People with twice your experience still get burned by them. But this may be one of those cases where the truth wouldn't be convincing, because one of the symptoms of bad judgement is believing you have good judgement. When you're too weak to lift something, you can tell, but when you're making a decision impetuously, you're all the more sure of it.

Like our kids, we want our new programmers to be confident but afraid that they make lousy judgement. Another good point:

One thing adults conceal about sex they also conceal about drugs: that it can cause great pleasure. That's what makes sex and drugs so dangerous. The desire for them can cloud one's judgement—which is especially frightening when the judgement being clouded is the already wretched judgement of a teenage kid.

Writing lousy programs is great pleasure like sex or drug because it uses less time, less effort to meet your customers and bosses needs. I highly recommend all technical people to read the Paul Graham essay.

chris tam
Hong Kong

No comments: