Re: bash vs. python scripts - which one is better?
- From: Ron Johnson <ron.l.johnson@xxxxxxx>
- Date: Thu, 09 Aug 2007 12:54:25 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/09/07 12:19, Steve Lamb wrote:
Manon Metten wrote:
Well, I find Perl easier to understand. The problem may be with some
programmers who don't know how to write readable code... Now, the thing
I really hate concerning python is that it is sensitive to indentation;
this means that some operations like copy-paste or inserting a loop can
easily destroy code. And "diff -b" or "diff -w" can't be used reliably.
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.
Just remember to tell you editor to "inserts spaces as tab" and set
the tab width to something reasonable like 4.
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGu1TRS9HxQb37XmcRAhLsAJ9jaJ+/CsXhjkiATKufjrJcUB1T+ACg3rPP
tJLPLTlCgvVtnsxumbRUXiM=
=4+Bb
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: bash vs. python scripts - which one is better?
- From: s. keeling
- Re: bash vs. python scripts - which one is better?
- From: Stefan Monnier
- Re: bash vs. python scripts - which one is better?
- References:
- bash vs. python scripts - which one is better?
- From: Manon Metten
- Re: bash vs. python scripts - which one is better?
- From: Nelson Castillo
- Re: bash vs. python scripts - which one is better?
- From: Manon Metten
- Re: bash vs. python scripts - which one is better?
- From: Nelson Castillo
- Re: bash vs. python scripts - which one is better?
- From: Manon Metten
- Re: bash vs. python scripts - which one is better?
- From: Vincent Lefevre
- Re: bash vs. python scripts - which one is better?
- From: Manon Metten
- Re: bash vs. python scripts - which one is better?
- From: Steve Lamb
- bash vs. python scripts - which one is better?
- Prev by Date: Re: Substituting one font for another system-wide?
- Next by Date: Re: evolution does not start
- Previous by thread: Re: Python intention (Was: bash vs. python scripts - which one is better?)
- Next by thread: Re: bash vs. python scripts - which one is better?
- Index(es):
Relevant Pages
|
|