[Gimp-developer] Script-fu and Re: The GIMP Webpage
[EMAIL PROTECTED] (2001-05-23 at 1023.57 -0500): > Marketers will tell you that you have to change the site Sorry, could not resist, joke ahead: A shepher is in the plains, just watching his sheeps, and an all terrain vehicle appears from nowhere. A guy with a nice suit and a laptop jumps to ground, and asks the shepherd: - If I tell you how many sheeps do you have, would you give me one? - Uummm, OK. The suit guy starts to do some computing, requests extra data via mobile phone, process satellite photos and after an hour of activity says: - You have 1457. - Yes! Choose a sheep. The guy gets one, and the shepher asks with a funny face: - If I tell you what is your job, do you give me it back? - Ooh, why not. - You are a consultor. - How do you know? - You appeared even if I have not called you, you told me a thing I already know... and you have choosen my dog. ;] It can be applied to other professions, consulting was just the one at hand, but I guess it shows clearly the modern trend of doing things just cos someone says it, not cos they are needed. We can give some kicks to the site design, sure, but I would preffer to give some kicks to the content, so it is useful and updated. What is more, a plain looking site, while not appealing at first visit, would be visited again if people see it is useful ("looks plain, but it has all the info I was searching, oooh! no more time wasted browsing!"). I guess that is the reason people like Google: it works and does not look overworked. BTW, is there a Script-fu coding style? I have an idea in mind: clean scripts a bit, and publish some rules, in the same way Gimp C code has some rules (published?). GSR ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Script-fu and Re: The GIMP Webpage
On Wed, 23 May 2001, Guillermo S. Romero / Familia Romero wrote: [...skipped nice joke...] > BTW, is there a Script-fu coding style? I have an idea in mind: clean > scripts a bit, and publish some rules, in the same way Gimp C code has > some rules (published?). As far as I know, there is no Script-Fu coding style described anywhere. I tried to find some references when I modified many of the logo scripts in order to add support for "Alpha to Logo", but I did not find anything. I wanted to clean up all scripts, but I did not do it because I did not know what style to follow. The C code is following more or less the GNU Coding Standards. There is an online version available here: http://www.gnu.org/prep/standards_toc.html Look for the chapter "Formatting Your Source Code". The other chapters are interesting too. The Gimp code follows this standard, with some small modifications (e.g., the declaration of a function lists its arguments on separate lines and they are aligned). -Raphael ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Script-fu and Re: The GIMP Webpage
Hi, Raphael Quinet <[EMAIL PROTECTED]> writes: > The C code is following more or less the GNU Coding Standards. There > is an online version available here: >http://www.gnu.org/prep/standards_toc.html > Look for the chapter "Formatting Your Source Code". The other > chapters are interesting too. The Gimp code follows this standard, > with some small modifications (e.g., the declaration of a function > lists its arguments on separate lines and they are aligned). the file HACKING in the gimp source tree describes the Gimp coding style (Hackordnung). As Raphael already outlined, it follows the GNU coding style very closely. Salut, Sven ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer