C or C++?

2002-09-19 Thread Maillist
Hi, I though I would find out the CLUGs opinion of which is better C or C++. I am thinking of learning a lower level programming language. I know many higher level languages such as C#, VB and PHP and some others but am trying to decide which language I should learn next. I know

Re: C or C++?

2002-09-19 Thread Jeremy Bertenshaw
C++ definately, but learning Java might be more useful, at the end of the day it's just another language and when you know one OOP language you can switch pretty easily. jeremyb. From: [EMAIL PROTECTED] Date: 2002/09/20 Fri PM 09:14:01 GMT+12:00 To: linux user group [EMAIL PROTECTED

Re: C or C++?

2002-09-19 Thread Tim Wright
It's a diffucult question that's gonna depend on what you want to do with them. I'll echo Jeremy's comment that c++ is just another O-O language and once you've learnt one it's pretty much just syntax differences between them (hmm...that's not quite true, but good enough). However, I disagree

Re: C or C++?

2002-09-19 Thread Yuri de Groot
I've dabbled in both, but wouldn't call myself a serious programmer. The main thing is to get used to thinking of C and C++ as two completely distinct languages. Don't be tempted to think of C++ as a version of C. I teach-yourself-C++ book I have stresses that C++ can be harder to learn

Re: C or C++?

2002-09-19 Thread Michael JasonSmith
(Caveat: I don't know much C++) On Fri, 2002-09-20 at 07:36, Tim Wright wrote: Additionally, C's memory management is pretty bloody awful to use. True. But you learn a lot about memory management in the process, and that is not a bad goal in itself. Yes, C is the basis for almost every other

Re: C or C++?

2002-09-19 Thread Carl Cerecke
[EMAIL PROTECTED] wrote: Hi, I though I would find out the CLUGs opinion of which is better C or C++. I am thinking of learning a lower level programming language. I know many higher level languages such as C#, VB and PHP and some others but am trying to decide which language I should

Re: C or C++?

2002-09-19 Thread Ryurick M. Hristev
On Fri, 20 Sep 2002, Carl Cerecke wrote: IMO, C++ should never have been invented. This comment is interesting. OK I'll bite. Why ? Now it is true that many purists will balk at some C++ design decisions but when I've read the Stroustrup book I've got the distinct feeling that some features

Re: C or C++?

2002-09-19 Thread Carl Cerecke
Ryurick M. Hristev wrote: I'll second this. C and C++ are worlds apart: C- functional programming (paradigm of the '70-es ?) C is *imperative* style language Haskell is *functional* style language Prolog is logical Java is OOP C++ - OOP (paradigm of the '90-es) C++ is a (lousy) mix

Re: C or C++?

2002-09-19 Thread Ryurick M. Hristev
On Fri, 20 Sep 2002, Carl Cerecke wrote: Ryurick M. Hristev wrote: I'll second this. C and C++ are worlds apart: C- functional programming (paradigm of the '70-es ?) C is *imperative* style language Haskell is *functional* style language Prolog is logical Java is OOP Doh! Sorry

RE: C or C++?

2002-09-19 Thread Guy Steven
If you are familiar with oop, there is nothing to stop you adopting an oo approach to your C programming. The use of pointers to functions and structures make it relatively simple to adopt an oo style to your programming. Guy Steven. -Original Message- From: [EMAIL PROTECTED

Re: C or C++?

2002-09-19 Thread Tim Wright
On Fri, 20 Sep 2002, Carl Cerecke wrote: the odd niche here and there. There is at least one other major language style, programming by example, I think. Tim Wright knows more about that I think. mmm, *at least* one other programming style. Programming by Example and Programming by

Re: C or C++?

2002-09-19 Thread stringer
At 10:38 20/09/02 +1200, you wrote: Ryurick M. Hristev wrote: I'll second this. C and C++ are worlds apart: C- functional programming (paradigm of the '70-es ?) C is *imperative* style language Haskell is *functional* style language Prolog is logical Java is OOP C++ - OOP (paradigm

Re: C or C++?

2002-09-19 Thread Zane Gilmore
at 12:01, stringer wrote: FLAME SUIT And CoBOL is best for business data processing Something like 80% of the US Fortune 500 companies still use it for their back end processing, perhaps with a C++ or Java front end for an interface to the terminal/web. They use it for a reason - because

Re: C or C++?

2002-09-19 Thread Tim Wright
On Fri, 20 Sep 2002, Zane Gilmore wrote: This is not because COBOL is the best language for the job but because that's what they've always used. There are heaps of better languages. Here's where I agree with Zane...not that that's unusual :) I've actually worked with a couple of companies

Re: C or C++?

2002-09-19 Thread Ryurick M. Hristev
On Fri, 20 Sep 2002, Zane Gilmore wrote: [...] Sorry I had to say that as it is an issue here where I work. I had to learn COBOL and it is *not* easy, quick and reliable,... it's crap compared to a modern language. You have my deepest sympathy :-) I've heard that it was the 2nd or 3rd

Re: C or C++?

2002-09-19 Thread Michael JasonSmith
Just to muddy the waters I've always wanted to learn Objective-C, which was invented at around the same time as C++ with a similar goal in mind. It never took off outside the NeXT [read MacOS X] system, but it looks like a far cleaner language. Objective-C could have been adopted as the main OO

Re: C or C++?

2002-09-19 Thread Michael Beattie
On Fri, Sep 20, 2002 at 10:38:08AM +1200, Carl Cerecke wrote: Haskell is *functional* style language Prolog is logical They both rock :) Haskell especially. One cool thing about prolog, is the ability to solve complex problems in usually less than 5-10 lines. Hmm.. might have to go dig out