Subject: Developers of Sympa
List archive
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] RFC: attribute management
- Date: Wed, 31 Jul 2013 15:14:28 +0200
Hi, it's me again, Le 29/07/2013 15:05, Guillaume Rousse a
écrit :
address@concealed">Le 25/07/2013 14:46, David Verdin a écrit :Yes, though some values are actually hashes or different structures. And I need to read Soji's answer about his development logic to fully understand the problematic. address@concealed">Yes, actually the work in the Database modules was not finished. I had time to handle sub-module selection, queries, and wanted to handle all the parts that were RDBMS-specific and move them to their dedicated package. You rewrote the whole thing before, so now we will do it your way - which is also good from my point of view. address@concealed">I like the concept and, as Soji pointed it, it would certainly the good branchment point where to put the handling of several configuration formalisms. address@concealed">The last point does matter: we are supposed to make Sympa code more accessible for everyone, in order to make the contributors pool larger, not resort to Perl black magic just for syntactic sugar or to spare a few lines of code.I don't think this was Soji's idea. He's just good at perl and can write code using the AUTOLOAD mechanism - which I certainly could not - well I can now, but I didn't even know it existed before I saw Soji's code. Perl is just this way: Developpers have a large spectrum of techniques available to achieve a single goal. As a long-term integrator of other people's code in Sympa, I am used to seeing this mosaic of coding styles and just accepted it. That's why I didn't object to the architecture Soji proposed to the SIte/Robot/List set. But as the core developpers, it is important that we agree upon coding conventions - a minimal set of such at least. As a non-native perl coder, I must say that AUTOLOAD was troubling at first but once I admitted the mechanism ad understood the coding comfort it provided, I found it quite cool. Soji and Guillaume are more used than I am to perl arcanes and to perl's community. Soji thinks that there is no problem with the current organization, Guillaume thinks there is. I agree to the understanding problematic: One willing to code something in Sympa must be able to use parameter / attributes easily, i.e. find easily what parameters are available, and how to call them. The distinction between configuration-defined and computed parameters is essential. If we agree on this, I let you two choose chichever naming pattern you find is better. As a former Java developper, I must say that I like the get_foo / set_foo system for its clarity. Cheers, David |
-
Re: [sympa-developpers] RFC: attribute management
, (continued)
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/24/2013
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/25/2013
- Re: [sympa-developpers] RFC: attribute management, Guillaume Rousse, 07/25/2013
-
Re: [sympa-developpers] RFC: attribute management,
Guillaume Rousse, 07/25/2013
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/30/2013
- Re: [sympa-developpers] RFC: attribute management, Guillaume Rousse, 07/30/2013
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/30/2013
-
Re: [sympa-developpers] RFC: attribute management,
David Verdin, 07/25/2013
-
Re: [sympa-developpers] RFC: attribute management,
Guillaume Rousse, 07/29/2013
- Re: [sympa-developpers] RFC: attribute management, IKEDA Soji, 07/29/2013
- Re: [sympa-developpers] RFC: attribute management, IKEDA Soji, 07/30/2013
-
Re: [sympa-developpers] RFC: attribute management,
David Verdin, 07/31/2013
- Re: [sympa-developpers] RFC: attribute management, IKEDA Soji, 07/31/2013
-
Re: [sympa-developpers] RFC: attribute management,
Guillaume Rousse, 07/29/2013
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/25/2013
-
Re: [sympa-developpers] RFC: attribute management,
IKEDA Soji, 07/24/2013
Archive powered by MHonArc 2.6.19+.