Hi there,
I'm one of the SCons (http://www.scons.org) developers and am working on a partial redesign of our architecture. I'd like to come up
with a decent proposal about how to extend and rewrite our code base, such that it's easier for a user to overload and replace some
parts of the functio
Hi Marko,
thank you very much for your quick reply.
On 13.05.2016 00:01, Marko Rauhamaa wrote:
[...]
- Is this a good approach
As an approach, that looks ok. The code looks a bit too lenient, though,
which can easily surprise and baffle the user. I think it would be
better to fail:
===
Hi Marko,
Am 13.05.2016 um 07:53 schrieb Marko Rauhamaa:
Dirk Bächle :
For example, why do you need a key? Couldn't you simply pass the task
master class as an argument?
The idea behind this is, to be able to select classes by giving a
parameter on the command-line. So at some po
Hi Gregory,
thanks a lot for your answer and comments.
Am 13.05.2016 um 08:35 schrieb Gregory Ewing:
Dirk Bächle wrote:
[...]
I'd even suggest that *all* of the build logic should be in
the Nodes, and the Taskmaster class shouldn't exist at all.
The top level logic should just tell
Hello Dieter,
Am 13.05.2016 um 09:21 schrieb dieter:
Dirk Bächle writes:
...
My questions
- Is this a good approach, that I could use for other parts of the architecture
as well, e.g. the Node class mentioned above?
You might look at the "adpater" pattern.
It is he
Hi Ervin,
On 16.05.2016 11:05, Ervin Hegedüs wrote:
Hi All,
there is a library, which written in C. I'ld like to use it from
Python - from Python 2 _and_ 3.
I can make the autotools* files for Python 2 and Python 3, but
only exclusively. I can't make it for both in same time.
[...]
Is there
Hi Michael,
and thanks a lot for chiming in on this topic.
On 13.05.2016 22:33, Michael Selik wrote:
[...]
I share Greg's trepidation when I hear a phrase like that, but the general
idea of a registry of classes or functions and then picking the right one
based on string input is fine.
S
Hi Christopher,
On 20.05.2016 20:50, Christopher Reimer wrote:
Greetings,
My chess engine has a Piece class with the following methods that use
the @property decorator to read and write the position value.
slightly off topic: is your chess engine available in a public repo somewhere? I think