DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

WritingBriefly > WxPython > XEmacs > Emacs > XML > ExtensibleMarkupLanguage > XMLitis > XQuery > ExtensibleMarkupLanguage > XSLT > ExtensibleStylesheetLanguage > XcopyDeployment > XeroxPARC > XmlRpc > YAML > YouTube > ZenAndTheArtOfLispProgrammingClear Trail
Main /

Zen And The Art Of Lisp Programming

Lisp
REPL

When you're writing C code, you function in a very "modal" manner - either you are writing code, or you are compiling it, or you are debugging it. You use tools to help you optimize each separate programming task. On the other hand, when you write Lisp code, your style is more "modeless". You write a function, you run it, you debug it, you move on to the next "chunk" of code, all within the same development "context". You may even leave the code running and incrementally add functionality to the running code. It is a more "fluid" style of programming.




Psychologists have identified a state of mind called flow in which we're capable of incredible concentration and productivity. The importance of flow to programming has been recognized for nearly two decades since it was discussed in the classic book about human factors in programming Peopleware: Productive Projects and Teams by Tom DeMarco and Timothy Lister (Dorset House, 1987). The two key facts about flow are that it takes around 15 minutes to get into a state of flow and that even brief interruptions can break you right out of it, requiring another 15-minute immersion to reenter. DeMarco and Lister, like most subsequent authors, concerned themselves mostly with flow-destroying interruptions such as ringing telephones and inopportune visits from the boss. Less frequently considered but probably just as important to programmers are the interruptions caused by our tools. Languages that require, for instance, a lengthy compilation before you can try your latest code can be just as inimical to flow as a noisy phone or a nosy boss. So, one way to look at Lisp is as a language designed to keep you in a state of flow.


Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 30.04.2008 11:24 Uhr und seit 7. April 2005 740 aufgerufen.