Movatterモバイル変換


[0]ホーム

URL:


do...until wisdom needed...

Courageousjkraska1 at san.rr.com
Tue Apr 17 19:14:27 EDT 2001


On 17 Apr 2001 19:02:54 -0400, Douglas Alan <nessus at mit.edu> wrote:>> But is something that every expert would have to relearn each time they>> tuch someone else's code.>>Everytime you read someone else's code you have to understand the>functions they've defined before you can understand their code.  Let's>get rid of functions too!This remark is quite apropros: as a professional lisp programmer (notnecessarily by preference, but so it goes), I find maintaining code withthe occasional hygienic macro to be no more difficult than understandingsomeone else's functions. I believe this is a very apt analogy.Now one thing that I would say is that, if hygienic macros were presentin Python, the primary Python distributions themselves should not addadditional looping construct macros or other language-altering macrosas part of any particular release. The addition of a "standard core oflanguage transmogrifying macros" (ala the proliferation of a dozen orso looping constructs in Lisp) would probably create the very problemthat the other poster is referring to.C//


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp