gnulib-tool-py
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnulib-tool-py] GLModule or GLModuleSystem class


From: Bruno Haible
Subject: Re: [gnulib-tool-py] GLModule or GLModuleSystem class
Date: Sun, 24 Jun 2012 17:12:22 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Hi Dmitriy,

> I've thought about combination of the GLModuleSystem and GLModule
> classes. GLModuleSystem has classes like func_verify_module,
> func_exists_module, func_verify_nontests_module and
> func_verify_tests_module (of course the names of the methods will be
> different from those function names). But moreover it has find(module)
> method, which takes name of module as arg, applies all necessary
> actions like func_lookup_module, func_exist_module and
> func_verify_module and if success, it creates and returns new GLModule
> instance, which contains attributes like getMaintainer, etc. What do
> you think? I think it is the best way to join GLModuleSystem and
> GLModule.

I agree. Perfect OO design.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]