Re: About programing, a general question



On 17Dec2010 15:04, Parshwa Murdia <b330bkn@xxxxxxxxx> wrote:
| On Fri, Dec 17, 2010 at 2:02 AM, Rodolfo Alcazar Portillo <nospaze@xxxxxxxxx
| > 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@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Declaration of external bzero at block scope can yield surprises
- IRIX C compiler
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Python or PHP?
    ... If it's one of the things for which Python ... every language here and there more ways to do something. ... you make Perl more complicated than it is:-D. ... Not the programmer. ...
    (comp.lang.python)
  • Recommend an E-book Meeting the Following Criteria (Newbie, Long)
    ... I know several programming languages namely Java, Perl and C in this order ... Now I'm wondering which Python book I should get as there are so many out ... I'd like to mostly concentrate on language features but some pointers ...
    (comp.lang.python)
  • Re: Choosing Perl/Python for my particular niche
    ... >> For most general purpose tasks, I reach for Python first. ... > syntax and perhaps my lack of bottomless commitment (knowing Perl would not be ... verilog) so that it can be used for another e.g. verilator, ... using a standalone simulator to simulate the original verilog. ...
    (comp.lang.python)
  • Industry profiles: Software tools: Exclusive to comp.databases.pick: Why python? (from 2000)
    ... "My first look at Python was an accident, and I didn't much like what I ... language called SNG for manipulating PNG ... Perl, of course, is the 800-pound gorilla of modern scripting languages. ... The design objective of fetchmailconf ...
    (comp.databases.pick)
  • Re: Choosing Perl/Python for my particular niche
    ... >> For most general purpose tasks, I reach for Python first. ... > syntax and perhaps my lack of bottomless commitment (knowing Perl would not be ... verilog) so that it can be used for another e.g. verilator, ... using a standalone simulator to simulate the original verilog. ...
    (comp.lang.perl.misc)