[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash vs. python scripts - which one is better?



Hi Steve,

On 8/9/07, Steve Lamb <grey@dmiyu.org> wrote:

>>  python ... is sensitive to indentation;

> Well, that's a major disadvantage to me too.

    Actually, it isn't.  At no time have I ever had any problems with Python
code which would not also be an issue in other code as well.  The only
difference being you have to be careful about indention in one case, braces in
the other.  Besides, let's face it, if there is a person who puts code into
place and then doesn't make the indention make sense to ensure they did the
job properly is that someone who's opinion we're going to trust when it comes
to decent coding practices?  Most people are going to make the indention match
*anyway*.  Since pretty much every programmer's editor comes with de/indent a
block of text there is no problem.

Than, probably I didn't understand it correct. I thought of it as some prefixed
indentation. I like eg. to indent with two spaces and not four or six. But then I
consequently stick to it. If that's what you mean, then it ain't no problem for me.

Manon.

 

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: