arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.00485cs.PL
收藏

Lisp、Jazz、Aikido --一个本质的三种表达

Lisp, Jazz, Aikido -- Three Expressions of a Single Essence

Didier Verna

摘要:

科学(我们能解释的)和艺术(我们不能解释的)之间的关系早已被承认,虽然每一门科学都包含艺术的部分,但每一种艺术形式也需要一点科学。在所有的科学学科中,编程占有特殊的地位,原因有二。首先,艺术部分不仅不可否认,而且至关重要。其次,就像在一个纯粹的艺术学科,编程的行为部分是由美学的概念驱动的:我们在创造美丽的东西时所拥有的乐趣。尽管美学在编程行为中的重要性现在是毋庸置疑的,但仍然可以在这个问题上写更多的东西。该领域被称为“编程心理学”,专注于活动的认知方面,目标是提高程序员的生产力。虽然许多科学家强调他们对美学的关注及其对他们活动的影响,但很少有计算机科学家真正写过他们在编程时的思维过程。是什么让我们喜欢或不喜欢这样或那样的语言或范式?为什么我们要以这种方式塑造我们的计划?从美学的角度来回答这些问题,或许能给编程艺术带来一些新的启示。从美学是一个固有的横向维度的假设开始,每个程序员都应该有可能在他们所从事的每一项创造性活动中找到相同的美学驱动力,而不仅仅是编程,并且在这样做的过程中,更深入地了解他们为什么以及如何以他们的方式做事。另一方面,由于我们的审美敏感性是如此个人化,我们所能做的就是将自己的经历与他人分享,希望这能激励他们也这样做。我的个人生活一直围绕着三个主要的创造性活动,同样重要:用Lisp编程,演奏爵士音乐,练习合气道。但是为什么有这么多,为什么有这么多不同的,为什么是这些?通过反思我个人的审美敏感性,我最终意识到,我在科学、艺术和物理领域的品味都是由相同的驱动力驱动的,因此将Lisp、爵士乐和合气道统一为一个本质的三种表达方式,毕竟没有那么不同。Lisp、Jazz和Aikido都受到一套有限的规则的约束,这些规则仍然简单而不引人注目。与他们相处是一种享受。因为Lisp、Jazz和Aikido本质上都是内省的学科,它们也邀请你为了找到自己的规则而违反规则。打破规则很有趣。最后,如果Lisp、Jazz和Aikido统一了如此多的范式、风格或技术,这不仅仅是积累,而是因为它们生活在元层面,让你重新发明它们。在元层面上工作是一种启发性的经历。了解你的审美敏感度,你可能会对自己的编程心理学有相当深入的了解。我的可能是大多数爱说悄悄话的人的共同点。也许其他编程社区也很常见,但这是由读者决定的。

英文摘要:

The relation between Science (what we can explain) and Art (what we can't) has long been acknowledged and while every science contains an artistic part, every art form also needs a bit of science. Among all scientific disciplines, programming holds a special place for two reasons. First, the artistic part is not only undeniable but also essential. Second, and much like in a purely artistic discipline, the act of programming is driven partly by the notion of aesthetics: the pleasure we have in creating beautiful things. Even though the importance of aesthetics in the act of programming is now unquestioned, more could still be written on the subject. The field called "psychology of programming" focuses on the cognitive aspects of the activity, with the goal of improving the productivity of programmers. While many scientists have emphasized their concern for aesthetics and the impact it has on their activity, few computer scientists have actually written about their thought process while programming. What makes us like or dislike such and such language or paradigm? Why do we shape our programs the way we do? By answering these questions from the angle of aesthetics, we may be able to shed some new light on the art of programming. Starting from the assumption that aesthetics is an inherently transversal dimension, it should be possible for every programmer to find the same aesthetic driving force in every creative activity they undertake, not just programming, and in doing so, get deeper insight on why and how they do things the way they do. On the other hand, because our aesthetic sensitivities are so personal, all we can really do is relate our own experiences and share it with others, in the hope that it will inspire them to do the same. My personal life has been revolving around three major creative activities, of equal importance: programming in Lisp, playing Jazz music, and practicing Aikido. But why so many of them, why so different ones, and why these specifically? By introspecting my personal aesthetic sensitivities, I eventually realized that my tastes in the scientific, artistic, and physical domains are all motivated by the same driving forces, hence unifying Lisp, Jazz, and Aikido as three expressions of a single essence, not so different after all. Lisp, Jazz, and Aikido are governed by a limited set of rules which remain simple and unobtrusive. Conforming to them is a pleasure. Because Lisp, Jazz, and Aikido are inherently introspective disciplines, they also invite you to transgress the rules in order to find your own. Breaking the rules is fun. Finally, if Lisp, Jazz, and Aikido unify so many paradigms, styles, or techniques, it is not by mere accumulation but because they live at the meta-level and let you reinvent them. Working at the meta-level is an enlightening experience. Understand your aesthetic sensitivities and you may gain considerable insight on your own psychology of programming. Mine is perhaps common to most lispers. Perhaps also common to other programming communities, but that, is for the reader to decide...

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑