Thread: RE: [java-gnome-hackers] Remove the org.gnu.gnome.Execute class?
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2002-10-21 11:07:02
|
I completely agree. Gone it is! -Jeff > I heartily agree (not that my vote counts for much yet :-). While the > documentation for Execute's async and shell methods suggests they have > unique capabilities, a quick grep of the Gnome source code shows that > they both are used for the same purpose as Runtime.exec(s), often > interchangably (g_get_home gets called a lot using both, for > example). > > As someone who has had to maintain APIs that promised all > things to all > users, I've learned the hard way to just provide the minimum and then > see who complains and why. A smaller API is also easier to learn and > use appropriately. > > Tom > > On Sun, 2002-10-20 at 07:28, Philip A. Chapman wrote: > > Everyone, > > > > Now that three people have done some work on the Execute > class, I think > > we should delete it. :-) I base this opinion on a > conversation we had > > on this list (See the thread started with subject > Gnome2.defs Aug 10, > > 2002). Execute's async and shell methods duplicate functionality > > provided by the java.lang.Runtime.exec methods. I wish I would have > > remembered this conversation last night before I worked on it, but > > that's the way it works. > > > > Note, I have not yet deleted the class in case someone is aware of > > functionality the Execute's methods afford us that the > Runtime's does > > not. > > > > Thanks, > > -- > > Philip A. Chapman > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Philip A. C. <pc...@td...> - 2002-10-21 13:43:48
|
Thanks for the input Jeff and Tom. I'll take it out tonight. On Mon, 2002-10-21 at 06:06, Jeffrey Morgan wrote: > I completely agree. Gone it is! >=20 > -Jeff >=20 > > I heartily agree (not that my vote counts for much yet :-). While the > > documentation for Execute's async and shell methods suggests they have > > unique capabilities, a quick grep of the Gnome source code shows that > > they both are used for the same purpose as Runtime.exec(s), often > > interchangably (g_get_home gets called a lot using both, for=20 > > example). =20 > >=20 > > As someone who has had to maintain APIs that promised all=20 > > things to all > > users, I've learned the hard way to just provide the minimum and then > > see who complains and why. A smaller API is also easier to learn and > > use appropriately. > >=20 > > Tom > >=20 > > On Sun, 2002-10-20 at 07:28, Philip A. Chapman wrote: > > > Everyone, > > >=20 > > > Now that three people have done some work on the Execute=20 > > class, I think > > > we should delete it. :-) I base this opinion on a=20 > > conversation we had > > > on this list (See the thread started with subject=20 > > Gnome2.defs Aug 10, > > > 2002). Execute's async and shell methods duplicate functionality > > > provided by the java.lang.Runtime.exec methods. I wish I would have > > > remembered this conversation last night before I worked on it, but > > > that's the way it works. > > >=20 > > > Note, I have not yet deleted the class in case someone is aware of > > > functionality the Execute's methods afford us that the=20 > > Runtime's does > > > not. > > >=20 > > > Thanks, > > > --=20 > > > Philip A. Chapman > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by: > > Access Your PC Securely with GoToMyPC. Try Free Now > > https://www.gotomypc.com/s/OSND/DD > > _______________________________________________ > > java-gnome-hackers mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > >=20 --=20 Philip A. Chapman |
From: Jeffrey M. <ku...@zo...> - 2002-10-30 00:37:06
|
Are you making progress on the gnome classes? I have the gtk classes fairly close to where I would like to have them for the next release. They are not perfect and are also not complete but I really want to get a release out. I hope to join you on the gnome package shortly. On Mon, 2002-10-21 at 09:44, Philip A. Chapman wrote: > Thanks for the input Jeff and Tom. I'll take it out tonight. > > On Mon, 2002-10-21 at 06:06, Jeffrey Morgan wrote: > > I completely agree. Gone it is! > > > > -Jeff > > > > > I heartily agree (not that my vote counts for much yet :-). While the > > > documentation for Execute's async and shell methods suggests they have > > > unique capabilities, a quick grep of the Gnome source code shows that > > > they both are used for the same purpose as Runtime.exec(s), often > > > interchangably (g_get_home gets called a lot using both, for > > > example). > > > > > > As someone who has had to maintain APIs that promised all > > > things to all > > > users, I've learned the hard way to just provide the minimum and then > > > see who complains and why. A smaller API is also easier to learn and > > > use appropriately. > > > > > > Tom > > > > > > On Sun, 2002-10-20 at 07:28, Philip A. Chapman wrote: > > > > Everyone, > > > > > > > > Now that three people have done some work on the Execute > > > class, I think > > > > we should delete it. :-) I base this opinion on a > > > conversation we had > > > > on this list (See the thread started with subject > > > Gnome2.defs Aug 10, > > > > 2002). Execute's async and shell methods duplicate functionality > > > > provided by the java.lang.Runtime.exec methods. I wish I would have > > > > remembered this conversation last night before I worked on it, but > > > > that's the way it works. > > > > > > > > Note, I have not yet deleted the class in case someone is aware of > > > > functionality the Execute's methods afford us that the > > > Runtime's does > > > > not. > > > > > > > > Thanks, > > > > -- > > > > Philip A. Chapman > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: > > > Access Your PC Securely with GoToMyPC. Try Free Now > > > https://www.gotomypc.com/s/OSND/DD > > > _______________________________________________ > > > java-gnome-hackers mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > > > > -- > Philip A. Chapman |