Re: New to Programming



Richard wrote:

"J. J. Farrell" <jjf@xxxxxxxxxx> writes:

SG wrote:

I am a complete novice at computers and programming and right now, all
i need to know is that why do many people prefer C to C++? Is it just
because they are used to using C and are conservative about switching
over to C++ or is there some other reason?

A strangely worded paragraph. Do many people prefer C to C++? If they
do, perhaps they find it better suited to what they want to do. I use C
and I don't use C++, but I don't think I "prefer" C to C++; I don't use
a chain saw either, but I don't prefer C to a chain saw.

Prefer C to a chain saw? What a ridiculous analogy. You cant program
a computer in a fairly low level,optimised, compiled manner with a
chainsaw.

I think it's an apt analogy. The opening poster did
not explain why he thinks that many people prefer
C to C++. I'm guessing that J.J. Farrell guessed that the
OP thinks so because many people use C and do not use
C++. So J.J. was making the point that use A and not use
B does not imply prefer A over B. The chainsaw analogy
illustrates that point just fine.


Are people who prefer C++ to C just conservative about switching over
to C or is there some other reason?

Huh? Most of the switch over happened the other way : most C++
compilers will compile C but no vice versa. It is rare for someone to
move back to C from C++ IMO.

Perhaps you're right but the point is that the opening poster
asked a loaded question. The way he phrased it sounded
like he thinks that switching from C to C++ is some kind
of default and people need a reason not to follow that
default. By reversing the question J.J. exhibited why the
original question was loaded.

Secondly, could you please tell me how the knowledge of C will help me
later on?

It will likely help you get jobs which require you to know C, for
starters.

Are you trolling? Damn. You are. You must be.

I'm pretty sure he isn't.

.



Relevant Pages

  • Re: New to Programming
    ... I am a complete novice at computers and programming and right now, ... a chain saw either, but I don't prefer C to a chain saw. ... compilers will compile C but no vice versa. ...
    (comp.lang.c)
  • Re: Word 2003 Bug
    ... 4 identical, brand new, computers on a domain switching between PCL 6 HP ... Switching between identical ... >: Greg Keehfuss ... >: Technical Computer Services ...
    (microsoft.public.word.application.errors)
  • Re: A gripe about the Photoshop GUI
    ... >>resolution and switching back and forth is a pain since some of them ... Since programming interfaces clutter the ... e-mailed them with the suggestion for making the icon size variable. ...
    (comp.graphics.apps.photoshop)
  • Re: How to develop a PPC application
    ... >what is your programming experience level. ... an app. ... Be careful about overly automating, as in automatically switching fare ...
    (microsoft.public.pocketpc.developer)
  • Re: RiscPC has stopped talking to router
    ... damage from lightning can easily come from the phone line. ... It's not justa matter of switching off, ... I know, when I say the computers were switched off I meant that they were switched off, unplugged and the router unplugged and unplugged from the phone line. ...
    (comp.sys.acorn.networking)