LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Which C for me?
C 6 27.27%
C++ 12 54.55%
Objective C 4 18.18%
some other? 0 0%
Voters: 22. You may not vote on this poll

Reply
  Search this Thread
Old 08-13-2005, 07:30 AM   #1
Heiland
LQ Newbie
 
Registered: Jul 2005
Location: Deutschland
Distribution: OS X 10.4.2
Posts: 11

Rep: Reputation: 0
Which C language to learn?


Hello!

I've been wondring lately should I continue on path of C++ of which I know the basics, or should I pick some more advanced and powerfull programming language when it's still possible to unlearn a bit. It's been a while since I last time did any programming (ca. 4 months) because of unability to run Linux or BSD on our family computer. Now that I have my very own laptop (iBook) and a decent programming enviroment (XCode 2.1) I think I should begin coding again.

But question remains, should I stick with C++ or maybe switch to Objective C? Or maybe some other C based language? I wouldn't prefer sole C because I think it's quite outdated and clumsy. I'm considering objective C quite heavily since most of the "developement" I will be making are going to be simple desktop apps.

I'll leave my decision to you for now. All suggestions are welcome!
 
Old 08-13-2005, 07:57 AM   #2
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Quote:
I wouldn't prefer sole C because I think it's quite outdated and clumsy.
Outdated and clumsy? It's a small, elegant language that works! If by "clumsy" you mean you have to write a lot of the stuff that C++ overloads you with by default, that's a different matter. People make the mistake of calling C a high-level language, but it's really a high-level assembler language, which is why it's such fun to use!

I suppose that you also think Linux, being based on an OS that was invented in the late 60s, is outdated, too.
 
Old 08-13-2005, 08:09 AM   #3
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
We must learn new stuff. Because of that Objective C
 
Old 08-13-2005, 08:26 AM   #4
Heiland
LQ Newbie
 
Registered: Jul 2005
Location: Deutschland
Distribution: OS X 10.4.2
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by eddiebaby1023
I suppose that you also think Linux, being based on an OS that was invented in the late 60s, is outdated, too.
Unix has developed much over course of time and to different directions, but C has remained basically the same except it's offsprings like oC, C++ and others.

So yes, C could be called a bit outdated without a doubt.
 
Old 08-13-2005, 09:22 AM   #5
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
If you want to be an effective Linux programmer you might want to change your views on C Tell Linus that C is clumsy and outdated. Anyways I would say stick with C++ until you've at least learned the STL pretty well, which means you should learn almost all of the language. But of course the choice is up to you, I'm just giving my recommendation which is highly biased towards C++
 
Old 08-13-2005, 10:36 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Now that I have my very own laptop (iBook) and a decent programming enviroment (XCode 2.1) I think I should begin coding again.
go with objective C then, it is the apple Mac OSX prefered programming language
with native cocoa interface
 
Old 08-13-2005, 10:54 AM   #7
oblivious69
Member
 
Registered: May 2005
Distribution: debian
Posts: 79

Rep: Reputation: 15
As everyone has said, C is definitely not outdated. I don't know much about Objective C, so I can't comment about it. But if you learn C and C++, you can pick up any language in the future pretty easily.
 
Old 08-13-2005, 12:53 PM   #8
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
C is a good choice, because good compilers for it are available on most platforms that have something more than assembly language tools. Also, lots of operating systems have a native C API.

I like C++. The compilers are not as widespread, but there are still lots of them. Also, I find some of the more modern techniques being developed with templates to be fascinating. Finally, it is not to difficult to link C++ code to C code.

I have never had any experience with Objective C, so I can't really comment on that other than to say it doesn't appear to be as widespread.
 
Old 08-13-2005, 01:49 PM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,599
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
How do I vote for "all of them?"
 
Old 08-14-2005, 12:09 AM   #10
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
C is clumpsy, but its library recompensed.
 
Old 08-14-2005, 08:03 AM   #11
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Quote:
Originally posted by ewt3y
C is clumpsy, but its library recompensed.
You have a strange idea of clumsy. The libraries merely extend the capabilities of what you can achieve without having to write it all yourself.

Can you give an example of C's "clumsiness"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best programming language to learn jax8 Programming 25 04-04-2010 10:21 AM
What Language Should I Learn? KungFuHamster General 45 04-25-2006 02:10 PM
Looking to learn PHP as a first language, Need sources dns21 Programming 6 12-19-2004 11:03 PM
What is the best language to learn for someone who wants to help develop the kernel? Fabyfakid Programming 3 10-07-2004 10:12 AM
PHP and is it a viable language to learn dos1 Programming 2 05-22-2003 12:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration