Search Mac Software Downloads
|
  Main     Development     Python  

Python User Reviews (2 posts)Write A Review
sort: smiles | time
Apr 2 2006

MILLENNIUMX  "One of the worst "features" of Python is that indentation is part of the syntax."

So, do you indent your code in other languages? Of course you do; it's one of the first things any decent programmer learns to do.

Given that, what's the problem? All it does is help keep the code readable.  
(Version 2.4.3)

praisebury
+8
[ 2 Replies - Reply ]
Replies:
Feb 18 2008

TUISHIMI  That whole "indentation" claim used AGAINST Python really irks me. It is one of the best features of one of the most easy-to-learn languages available.

I agree with your comments.  
(Version 2.5.2rc1)

praisebury
+3
Feb 28 2009

WRELEVEN  Since most developers already indent in a compatible way it's not the main issue. I know I felt weird about losing the { and } brackets though. They were like visual safety belts. I'm comfortable with Python now, I'm happen to trade them in for a better language.  
(Version 3.0.1)

praisebury
0

Apr 2 2005
*****

ANONYMOUS  Best language ever!

I was in an, umm, less than sober state of mind last night and decided I needed a script to change a list of URLs into a list of HTML links. It worked perfectly the first time. I can't think of another language I could have done it in that would have worked as well.

If you have any interest in programming whatsoever, learn python. You'll be a better programmer in any language because of it.  
(Version 2.4.1)

praisebury
0
[ 5 Replies - Reply ]
Replies:
Sep 24 2005

ANONYMOUS  Ruby.  
(Version 2.4.2rc1)

praisebury
-2
Sep 24 2005

TED  Ruby is definitely #2, but suffers from it's cryptic Perl-like syntax which does nothing but reduce legibility.  
(Version 2.4.2rc1)

praisebury
+1
Sep 29 2005

ANONYMOUS  "Be a better programmer ..." WRONG! One of the worst "features" of Python is that indentation is part of the syntax. Bah! Learn a lower level language so you understand what happens under the hood, and then tackle an OO language.

If I need to change a list URLs into a list of HTML links I'll use a quick sed script, thank you.  
(Version 2.4.2)

praisebury
-5
Jun 22 2006

MARK EVERITT  The enforced syntax debate is well known and argued elsewhere, in forums specifically for arguments such as this. The result is that you get people who do like it, and people who don't. I learnt C first myself, but when it comes to rapid prototyping, and scripting, python is excellent. I use it as a replacement for Matlab, and it performs very well indeed.

For learner programmers, python is great to teach syntax of course. An alternative starting language such as C gives you more of an idea about how machines work, but this can be extremely intimidating for those just starting out.

Posting about learning a language on here is perhaps moot, due to the MacPython 2.3 installation present by default which is fine for begginers programming. A new user certainly shouldn't start with beta software.  
(Version 2.5b1)

praisebury
+2
Nov 8 2008

ASMEURER  I probably would have used regular expressions in a text editor to do that.   
(Version 2.6)

praisebury
0

 

The opinions expressed in the reviews are not necessarily those of MacUpdate.
MacUpdate waives any legal binding related to the comments and opinions expressed in the reviews.
Please contact MacUpdate politely if you wish for a comment to be reviewed by MacUpdate for removal.