On Mar 21, 10:18 am, ajb...@gmail.co m wrote:
Hi fellows,
Hi, i still a newbie but the difference is that i live with
programmers, here on comp.lang.c, rather than with academics. so take
my advice with a "grain of salt"
:-)
I am reading some books to learn the C programming language, and
sometimes I have the feeling that when somebody becomes a C expert, he
must learn a more modern and object-oriented language.
that shows that you are a PURE newbie, you need to throw away that
kind of feeling, it happened to me many times and it will waste yours
lots of time by putting you into lots of thinking instead of lots of
coding.
i speak from experience. you need to solve problems by coding, you do
not need another language. trust me.
When I read things like "... C++ is an evolution of C ..."
i will correct it:
"... C++ is a specially desired inherent complex evolution of C ..."
or "... C is a subset of C++ ..."
complete NON-SENSE
i tried C++ for 4 months, never been able to learn it and now i am
learning C from K&R2. it is a completely different experience of
solving problems.
I tend to believe that I will have to learn C+
+ sooner or later. It sounds like C++ is the future and C is the past
(and will be no longer useful anytime soon).
in corporate world, C++ is being used at many places today. e.g. in my
country (India), if you search for C jobs,you will get very few but
for C++, Java or .NET you will get loads of hits on monsterindia.co m,
naukri.com, clickjobs.com
but i need to mention that corporate world do NOT use good tools to
solve problems. they use the FADs most of the times.
And how about the other object-oriented language: Java. They say it is
very powerful and it seems to be everywhere.
which "everywhere " you are referring to:
corporate - yes
UNIX culture - definitely NO
GNU tools - definitely NO
schools - yes
as is said, if a language is used everywhere, it doe snot mean it is
good, may be it is good but most of the times, it is not.
Is object-oriented better?
sometimes and not some other times. OOD is a method of solving
problems by coding, so is procedural, logic, declarative, functional
and generic programming.
every method(or paradigm, or style) is good for solving some problems
but bad for others, OOD is not an exception here.
Is necessary to switch to C++ or some object-oriented language?
for Job, YES you have to
for your business may be, may be not
Is it true that C tends to be decreasingly used?
"decreasing ly used" where corporate, schools, research etc.
in corporate yes but still you need C for that because you will always
come across with C code when working as a C++ software developer
And finally ... why do people need object-oriented languages?
because OOD solves some kinds of problems, in an excellent way.
why do some people like Common Lisp?
because it solves a large amount of problems in an excellent way
I am sorry for making so many questions.
Arnaldo, you need to *code*, trust me. i was in the same situation and
i askedmany questions like the one you asked but now i got out of it.
i am learning coding in C
:-)
BTW, "user-----" is right when he said:
"If a language is useful, it survives and evolves"
i see, same is true for Common Lisp, OCaml and Mercury.
i met a COBOL programmer a few days ago. she knows nothing except of
COBOL and she does coding for IBM mainframe located at the capital of
my country.
before posting anything make sure you "search" the archives.most of
the times, i found, my question was already asked and answered here.
good luck