The Joys Of Data-Driven Programming

Marko Rauhamaa marko at pacujo.net
Sat Aug 20 04:08:12 EDT 2016


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

> On Thursday, August 18, 2016 at 4:47:28 PM UTC+12, Marko Rauhamaa wrote:
>> ... as a rule, I dislike rules. Rule languages tend to
>> grow out of all bounds, always remain deficient and have impenetrable,
>> ad-hoc semantics.
>
> That’s a very peculiar thing to say, considering that data-driven
> programming is a well-known technique for writing compact code.
>
> Less code, and in particular, less repetitive code => fewer bugs.

I can't relate to what you say.

All I can say is that I've encountered numerous bad cases of rule
systems, eg:

 - iptables

 - selinux policies

 - systemd unit files

 - asterisk

 - sendmail


Marko



More information about the Python-list mailing list