Hi Nicolas,

Thanks for the new patch!  I have some concerns though:


On Mon, Feb 16, 2009 at 09:16:06PM +0100, Nicolas wrote:
> Moreover, I have splitted the C functions connect, disconnect,
> get_changes... to get a source code cleaner.

This appears at first glance to cause a lot of unneeded code duplication.
Some of these are small functions, such as sync_done(), which don't
benefit from the split, as far as I can tell.

Did you have a runtime or debugging reason for this change?

I understand using code duplication if we're in a hurry, but it is always
something that someone has to go back and fix later.  I did it in the
record classes, and then went back to fix it.  But here, we're going in
the opposite direction... adding more duplication when it should work
as-is, in theory.


> I have moved the connect/disconnect (of device) in the function
> initialize / finalize functions to be able to make calendar and contact
> sync in the same session.

I seem to recall that there was a reason I didn't put a device connect
in the initialize() function.

If you just do a plugin list from the command line, without doing a sync,
does this now require that you have a device plugged in?

How about from a GUI like KitchenSync?

Thanks,
- Chris


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to