i am student of MCA. i want to know what ....

Discussion in 'C Programming' started by harpreetsingh911@gmail.com, Aug 28, 2007.

  1. Guest

    i am student of MCA. i want to know what things are needed to be a
    efficient programmer in c and c++.
    , Aug 28, 2007
    #1
    1. Advertising

  2. <> wrote in message
    news:...
    >i am student of MCA. i want to know what things are needed to be a
    > efficient programmer in c and c++.
    >

    The C language doesn't take long to learn. However it takes a long time to
    be really effective. The only answer is to write lots of code.

    --
    Free games and programming goodies.
    http://www.personal.leeds.ac.uk/~bgy1mm
    Malcolm McLean, Aug 28, 2007
    #2
    1. Advertising

  3. >>>>> "MMcL" == Malcolm McLean <> writes:

    MMcL> <> wrote in message
    MMcL> news:...

    >> i am student of MCA. i want to know what things are needed to
    >> be a efficient programmer in c and c++.


    MMcL> The C language doesn't take long to learn. However it takes
    MMcL> a long time to be really effective. The only answer is to
    MMcL> write lots of code.

    There's more to the answer than that. If you write code uncritically,
    you don't learn C very well, and you wind up with a great steaming
    pile of bad code. Examples abound, and if you pay attention for a
    week in this group you'll find several.

    Read other people's code - but don't assume that just because it's in
    production, or because it's published, or because it's part of a
    high-profile open source project that it's good. Compile and run your
    code in as many different environments as you can, so you can avoid
    the "all the world's a Vax^W^Wan x86" misconception. Use the best
    automated code-checking tools (such as lint and gcc -Wall) that you
    can find. Read through the C standard that you're adhering to; you
    probably won't understand it at first, but the more C you learn, the
    more you'll understand it. Have more experienced programmers review
    your code and comment on it, and pay attention to and learn from their
    comments. Remember that if a dozen experts disagree with you, there's
    a damn good chance that you're wrong and they're right; to be Galileo,
    it is not sufficient that the establishment disagree with you, but for
    the establishment to be wrong.

    And programming is a separate skill from knowing the syntax and
    semantics of a language. Far too many people think that they are
    programmers when they have a loose grip on the syntax and no grip at
    all on the semantics of a single programming language. The more you
    equate "learning C" with "learning to program" the worse you will end
    up doing at both.

    Further good advice: http://norvig.com/21-days.html

    Charlton

    --
    Charlton Wilbur
    Charlton Wilbur, Aug 28, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bijoy Thangaraj

    Want to be a Microsoft Student Partner?

    Bijoy Thangaraj, Apr 30, 2007, in forum: Java
    Replies:
    1
    Views:
    539
  2. Bijoy Thangaraj

    Want to be a Microsoft Student Partner?

    Bijoy Thangaraj, Apr 30, 2007, in forum: C++
    Replies:
    0
    Views:
    289
    Bijoy Thangaraj
    Apr 30, 2007
  3. Replies:
    0
    Views:
    338
  4. Replies:
    0
    Views:
    299
  5. shiman999
    Replies:
    1
    Views:
    134
    John Saunders [MVP]
    Aug 28, 2007
Loading...

Share This Page