Mail archive

Re: [acf] Re: [alpine-devel] Ideas for a new config framework, ACF2

From: Ted Trask <>
Date: Thu, 29 Nov 2012 16:13:51 -0500

On Nov 29, 2012, at 3:02 PM, Timo Teras <> wrote:

> On Thu, 29 Nov 2012 10:57:48 -0500 Ted Trask <> wrote:
>> The proposed ACF2 seems to be a complete redesign to move from
>> functional to data-driven design. Unfortunately, the doc does not
>> give any reasons why this change is desired. What is the benefit?
>> This change does not address any of the goals listed below. Just as a
>> style preference, I've always been a C/functional design guy, rather
>> than C++/object-oriented guy. I find object-oriented design more
>> difficult to read and debug.
> I would recommend you trying one declarative language before condemning
> the programming paradigm.

I suppose I left myself open for that one. Note to self: never state style preferences.

Please don't interpret a preference as condemning all other options.

> One practical example: there was recent changes in ACF on 2.4->2.5 - and
> I actually had to spend 8 hours fixing my two simple ACF modules because
> the core libraries got changed in ways that appear only imperative
> programming - problem which would not have appeared if ACF was
> declarative.

Sorry about that. Although I would blame it on iterative design and changing requirements, which is a problem regardless of programming paradigm.

> There are valid reasons for both ways. But they are not just "style
> issues". Please try some declaritive language to see how they work.

Can you state some of the valid reasons for the ACF2 design?

Remember, my concern is not whether or not ACF2 can be done, but whether or not it is worth the "massive work" mentioned by ncopa. If I'm going to do "massive work", I want to see some benefit. Changing programming paradigms does not count as a benefit in my book.


Received on Thu Nov 29 2012 - 16:13:51 UTC