2024-4-16
Why is ---(programming)--- fun?编程为什么有趣?
What kind of happiness do its practitioners expect in return?作为回报,其从业者期望得到什么样的快乐?
The first is the sheer joy of building things.首先是一种创建事物的纯粹快乐。
Just as children enjoy playing in mud, adults enjoy creating things, especially designing them themselves.如同小孩在玩泥巴时感到愉快一样,成年人喜欢创建事物,特别是自己进行设计。
Secondly, happiness comes from developing things that are useful to other people.其次,快乐来自于开发对其他人有用的东西。
The third is the magical power of the whole process - putting together meshing parts and seeing them work exquisitely to achieve a pre-desired result.第三是整个过程体现出魔术般的力量--将相互啮合的零部件组装在一起,看到它们精妙地运行,得到预先所希望的结果。
The fourth is the joy of learning, which comes from the ---(non-repetitive)--- nature of the work.第四是学习的乐趣,来自于这项工作的非重复特性。
The problems that people face are always different in one way or another, so that the problem solver can learn something new from them: sometimes ---(practical)---, sometimes theoretical, or both.人们所面临的问题,在某个或其他方面总有些不同,因而解决问题的人可以从中学习新的事物:有时是实践上的,有时是理论上的,或者兼而有之。
Finally, the fun comes from working in such a manageable medium.最后,乐趣还来自于工作在如此易于驾驭的介质上。
The ---(programmer)---, like the poet, works almost exclusively in pure thought, using his imagination to build his "castle" out of nothing.程序员就像诗人一样,几乎仅仅工作在单纯的思考中,凭空地运用自己的想象来建造自己的“城堡”。
Rarely has a medium been so flexible in its creation, so easy to refine and rebuild, so easy to realize the conceptual vision.
很少有这样的介质一创造的方式如此灵活,如此易于精炼和重建,如此容易地实现概念上的设想。
Yet the program ---(programmer)---, unlike a poem, is a real thing;然而程序毕竟同诗歌不同,它是实实在在的东西;
Can be moved and run, can independently produce visible output;可以移动和运行,能独立产生可见的输出;
Can print results, draw graphics, make sounds, move the stand.能打印结果,绘制图形,发出声音,移动支架。
Programming is interesting because it not only satisfies our deepest desire to create, but it also delights the emotions within each of us.编程非常有趣,在于它不仅满足了我们内心深处进行创造的渴望,而且还愉悦了每个人内在的情感。