public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files
  @ 2003-08-13 18:32 99%   ` Adam Porich
  0 siblings, 0 replies; 1+ results
From: Adam Porich @ 2003-08-13 18:32 UTC (permalink / raw
  To: gentoo-dev

On Wed, 13 Aug 2003 19:56:10 +0200
Spider <spider@gentoo.org> wrote:

> begin  quote
> On Wed, 13 Aug 2003 18:44:24 +0200
> Heinrich Wendel <lanius@gentoo.org> wrote:
> 
> > Hi,
> > 
> > Svyatogor and me are working on a menu system (like debian ones) for
> > gentoo. Now we have come to the part where we have to decide whether
> > to use python or bash scripts for the rule files of the window
> > managers.
> > 
> > The Python scripts are 2 times as fast as a bash script and in my
> > opinion would make live easier, are easier to handle. But svyatogor
> > votes for bash scripts, as more people know how to write bash scripts
> > than python scripts, here an example of both:
> 
> 
> I wish to put my vote in for python.
> 
> 
> //Spider
>

I like the idea of a scripting language higher than 'sh' being included in gentoo by default. And, considering we already require python for portage, it makes sense. A language that is richer than 'sh' can make our low level scripts read a lot nicer. Even if someone is not familiar with python, a complicated script can be much easier to read in python than in 'sh'.

Our default scripts (e.g. menus, init scripts, modules and others) should be as simple as possible. If that is possible in bash ('sh?') then that makes sense but if the readability of these can be increased by a higher level language (particularly python as we already require it ... I think? ) then by all means go for it (in my opinion).

Cheers,
Adam Porich


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-08-13 16:44     [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files Heinrich Wendel
2003-08-13 17:56     ` Spider
2003-08-13 18:32 99%   ` Adam Porich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox