Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Hermann Riemann Newsgroups: de.comp.lang.python Subject: Re: [Python-de] Source code generation is a stupid idea Date: Mon, 16 Oct 2017 05:30:37 +0200 Lines: 19 Message-ID: References: <2c85cd93-5e6e-522d-9159-d16a514be956@thomas-guettler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net 2SQ9aqPq/0nJ8YUIymZXYQh9w9IpWmZ+A3YtSwY2NzjdcA0z9e Cancel-Lock: sha1:ikZEUZgdmeb3tgHNVAFSE6VT8Go= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 In-Reply-To: Content-Language: de-DE Xref: csiph.com de.comp.lang.python:4968 Am 13.10.2017 um 11:50 schrieb Thomas Güttler: > ich habe den Abschnitt "Source code generation is a stupid idea" > überarbeitet: > https://github.com/guettli/programming-guidelines/blob/master/README.rst#source-code-generation-is-a-stupid-idea Wenn Du http://www.99-bottles-of-beer.net/language-common-lisp-114.html automatisch nach Python konvertieren würdest, könntest Du das Programm anschießend vielleicht auch verstehen. Hermann der der vermutet, wenn regexpr nach Python code (und nach Modifikation zurück) konvertiert würde, er derartige Ausdrücke besser debuggen könnte -- http://www.hermann-riemann.de