On Fri, 2001-11-16 at 14:15, Linas Vepstas wrote: > I'm not really concerned that its somehow 'doing the wrong thing', > as the general malaise about making C code smarter than it desrves to > be. I'd rather keep the c code as dumb as possible, and have the > scheme code push it around like a wet noodle. Trying to make the > C code smart by using guile just seems like an invitation to trouble.
I tend to agree with this. Up until now, the main reason for C code calling Guile functions is that we haven't used the Guile bindings for Gtk/Gnome, so we had to write callbacks and such for dialogs in C, but then call out to Scheme to get the real work done. In my out-of-tree development I have been using guile-gtk and libglade together extensively and I am VERY happy with this combination. It really lets you get away from C for almost everything except primitive bits. I would like to see much of the stuff in src/gnome be rewritten in Scheme, mainly because GUI code is so much smaller and clearer when you have anonymous functions and closures available for callbacks. b.g. _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
