The Joys Of Data-Driven Programming

Marko Rauhamaa marko at pacujo.net
Thu Aug 18 00:47:13 EDT 2016


Lawrence D’Oliveiro <lawrencedo99 at gmail.com>:

> Solution: set up a table of rules

Without judging the individual merits of rules for your use case, I just
want to mention that as a rule, I dislike rules. Rule languages tend to
grow out of all bounds, always remain deficient and have impenetrable,
ad-hoc semantics.

Instead of rules, I prefer programming language hooks. I do realize that
with the power comes a large can of worms.

>         #end if
>     #end for

Consider leaving these out.


Marko



More information about the Python-list mailing list