逃避問題

這段改編自 2010 年 7 月 27 日的對話。

一般人云亦云的所謂「做人道理」,很多也是錯的。其中一個是:「千萬不要逃避問題。」

這句說話未必正確,因為,我可以追問,為什麼不可以逃避問題?

正確的講法應該是,問題有兩種。一種是不可以逃避的,一種是可以逃避的。不可以逃避的問題,你就不要逃避。可以逃避的,為什麼不逃避?

例如,有一隻獅子,正在追殺你。你總不能說:「千萬不要逃避問題。我一定面對問題,和獅子搏鬥一番。」

如果有獅子正在追殺你,最恰當的「面對」方法應該是,立刻逃走。

— Me@2013.11.30

2013.11.30 Saturday (c) All rights reserved by ACHK

Perl

心懷混亂 4

As we all know, reality is a mess.

This is a picture of many things. It’s a picture of air molecules bouncing around. It’s a picture of the economy. It’s a picture of all the relationships of the people in this room. It’s a picture of what the typical human language looks like. It’s a picture of your company’s information systems. It’s a picture of the World Wide Web. It’s a picture of chaos, and of complexity.

It’s certainly a picture of how Perl is organized, since Perl is modeled on human languages. And the reason human languages are complex is because they have to deal with reality.

Now, you may be wondering what all this has to do with Perl. The fact is, your brain is built to do Perl programming. You have a deep desire to turn the complex into the simple, and Perl is just another tool to help you do that–just as I am using English right now to try to simplify reality. I can use English for that because English is a mess.

This is important, and a little hard to understand. English is useful because it’s a mess. Since English is a mess, it maps well onto the problem space, which is also a mess, which we call reality. Similarly, Perl was designed to be a mess (though in the nicest of possible ways).

This is counterintuitive, so let me explain. If you’ve been educated as any kind of an engineer, it has been pounded into your skull that great engineering is simple engineering. We are taught to admire suspension bridges more than railroad trestles. We are taught to value simplicity and beauty. That’s nice. I like circles too.

However, complexity is not always the enemy. What’s important is not simplicity or complexity, but how you bridge the two.

— Open Sources: Voices from the Open Source Revolution

2013.11.30 Saturday ACHK