About programing, a general question

Cameron Simpson cs at zip.com.au
Fri Dec 17 22:03:13 UTC 2010


On 17Dec2010 15:04, Parshwa Murdia <b330bkn at gmail.com> wrote:
| On Fri, Dec 17, 2010 at 2:02 AM, Rodolfo Alcazar Portillo <nospaze at gmail.com
| > wrote:
[...]
| I guess, yes, C would be good but do you agree that it is good over Python
| (for the beginners like me, having known the fact that programing principles
| are same)?

I would strongly recommend Python over C for learning to program.

The syntax is very clean and clear (unlike Perl, which is visually very
noisy); it is nearly like writing out and English language description
of your code and watching it run.

There are no fiddly memory management things (unlike C, where strings
are fixed length memory arrays, and there are many pitfalls).

The documentation is pretty good (see docs.python.org).

Of course later you will want to learn other things to do particular
things or just to use other paradigms.

I would not recommend Perl for learning. And I used to write a lot of Perl. 

I do suggest you learn a little about the UNIX shell (bash, ksh, sh,
zsh; all dialects of the core scripting language "sh"); being able to
write simple pipelines and shell control structures (for loops, file
patterns etc) is very useful.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Declaration of external bzero at block scope can yield surprises
        - IRIX C compiler


More information about the users mailing list