LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 07-06-2003, 12:26 PM   #16
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45

ruby is pretty cool also
 
Old 07-06-2003, 01:09 PM   #17
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
High level features like what?
 
Old 07-06-2003, 01:29 PM   #18
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
High level features like what?
High level features C lacks:

* Few facilities for code reuse or abstraction (hard to do abstract data types; no polymorphism). C's static type system can't compete with the more modern static type system of, say, Haskell, which is polymorphic and can work out the type of most functions automatically.
* No namespaces (OK, this isn't especially high-level, but it's very useful).
* No bult in list datatype (this is a real PITA; just about every practical C program I've written has needed a linked list datatype at some point). It's impossible to represent a linked list constant (even in C++ with the STL).
* None of the useful features of functional languages (real higher order functions, closures, currying, optimisation of tail-recursion, etc.)
* No garbage collection. This is a real disadvantage, especially now garbage collectors are getting faster than manual memory management. Lack of GC also makes managing linked lists, etc. even more trouble.

Like I said, I don't think there's anything wrong with C, it's just been overtaken by other languages (e.g. Perl/Python) for writing run-of-the-mill applications, and was never really any good for doing the really tricky stuff (AI, etc.) It still has things going for it (like good performance, lots of libraries available).

Most of these issues have been addressed in C++ in one way or another, but it's a beast of a language.

Alex
 
Old 07-06-2003, 01:45 PM   #19
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Right, and personally i don't see anything wrong with C been overtaken by other languages. Every language is ment to be good at something and it's the programmers choice to pick the language most suited for the task.

But then if you think about it, Perl and such, were built on C, so in it's most basic form it's C with added features that make certain things easier to do (which is the point i think).

Ofcourse at one point or another added you reach the end of the languages capabilities, which is when you start moving to languages that can do it and leave C for what it's best at.
 
Old 07-06-2003, 01:54 PM   #20
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
Right, and personally i don't see anything wrong with C been overtaken by other languages. Every language is ment to be good at something and it's the programmers choice to pick the language most suited for the task
I totally agree. All i was arguing was that C is not usually the best language for writing applications. It's good for other things, like kernels for example.

Quote:
But then if you think about it, Perl and such, were built on C, so in it's most basic form it's C with added features that make certain things easier to do (which is the point i think).
Hmm, IMHO Perl is very unlike C. It has a lot of the syntax, but other than that it's totally different (no static typing, etc.). It really owes more to Awk and shell scripts than C.

Alex
 
Old 07-06-2003, 02:02 PM   #21
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Yeah Perl isn't the best example of what i am trying to say. You are right, it's very different in form from C, but deep deep deep down it's C (only the interface between the programmer and the inner C, is very different...ie Perl)
 
Old 07-06-2003, 03:14 PM   #22
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Wow. I will never understand the linux/programming community. All this bickering. My language is better than yourś is! ... No itś no!
My distro is better than yourś ......
It seems to me like it doesn't really matter what language/distro. Seems like itś more preference based. You people really need to simma. But I appreciate the all the feedback.
 
Old 07-06-2003, 03:42 PM   #23
inkedmn
LQ Newbie
 
Registered: Sep 2001
Location: Southern California, USA
Distribution: Debian unstable :)
Posts: 22

Rep: Reputation: 15
who's bickering? once you've spent some time w/ linux and programming, you'll have your preferences too
 
Old 07-06-2003, 03:53 PM   #24
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Yeah, I'm sure it's pretty strange to watch people get into heated arguments about the relative merits of programming languages when they could be, say, having sex or playing Counterstrike instead, but the odd thing is that it really does matter which programming language you use. Unfortunately the only thing you can do is to try a few and see which one(s) you like. It's definately an advantage to learn more than one, because it helps you to think about solving problems in different ways.

Alex
 
Old 07-06-2003, 04:29 PM   #25
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Also, there's a large difference between bickering and discussion. Respectful discussion is a integral part of the academic process.
 
Old 07-06-2003, 08:46 PM   #26
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
more of a discussion than bickering.
 
Old 07-06-2003, 08:55 PM   #27
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 32
seems like a nice peaceful discussion to me...it's pretty much a matter of opinion in many ways....


Quote:
Originally posted by llama_meme
playing Counterstrike instead,
IMHO games are a waste of time..
 
Old 07-07-2003, 08:01 AM   #28
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Okay. Maybe bickering was the wrong word. And I can understand having your preferences. But why try to convince the person who has been using linux just as long as you and has his (or her) own set of preferences, instead of targeting newbs like me.

And what is IMHO? I see it everywhere.

Last edited by KptnKrill; 07-07-2003 at 08:03 AM.
 
Old 07-07-2003, 08:01 AM   #29
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
And just for the record, peeps, inkedmn was harassing me, cuz he and I have a friendly history. (=
 
Old 07-07-2003, 09:54 AM   #30
inkedmn
LQ Newbie
 
Registered: Sep 2001
Location: Southern California, USA
Distribution: Debian unstable :)
Posts: 22

Rep: Reputation: 15
IMHO = in my humble opinion
 
  


Reply



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
good language for beginners boxerboy Programming 24 10-27-2005 04:12 AM
What's a good Programming language to begin with? PLZ HELP! Jonescity Programming 24 07-30-2005 07:43 AM
Seeking for a good scripting language... Frank Programming 11 01-02-2004 10:35 PM
Good starting program Language newbie Fold Zandura Programming 10 12-06-2003 02:44 AM
A good app building language Chijtska Programming 14 02-15-2002 12:41 PM

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

All times are GMT -5. The time now is 05:51 AM.

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