[cairo] ANN: pycairo release 1.11.0 now available

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Apr 13 07:19:07 UTC 2017


On Thu, 13 Apr 2017 08:58:44 +0200, Christoph Reiter wrote:

> On Sun, Apr 9, 2017 at 10:08 PM, Lawrence D'Oliveiro
> <ldo at geek-central.gen.nz> wrote:
>
>> You could save a few dozen lines of code by generating the
>> wrappers for the CAIRO_HAS_xxx constants at build time
>> <https://github.com/ldo/pycairo/commit/5c8ef7884bd04785c7153ca567cb2fd53e01ab15>.  
> 
> This complicates things more than it helps in my opinion.

Less code => less to maintain, less chance for bugs to get in.

Data-driven programming is good.


More information about the cairo mailing list