PDA

View Full Version : Should the world abandon C ? Y/N



zahid
10-06-2002, 04:38 AM
Opinion poll.

Please cast your vote, and invite others to do.

Is it the right time,
Should the world abondon C ?

(Not for learning, to use C for software development)

face_master
10-06-2002, 04:43 AM
No no no. Definitely NO!

Fordy
10-06-2002, 04:49 AM
[list=1]
Why?
Do you really expect a decent poll on this subject from this site?
Why would you not abandon it for learning, but scrap it for implementation?
[/list=1]

Terrance
10-06-2002, 04:54 AM
I think he means abandon c for c++.

My answer, as well as everyones answer will be no.

c has it's advantages, for one-it's a more efficient language than c++, but not much anymore. There's still reasons to use it over c++ though.

c++ is taking over because of oop, but it doesn't mean c isn't good for anything.

It's like saying we should just get rid of java.

All programming lanuages have their advantages.

zahid
10-06-2002, 04:55 AM
Fordy, don't shoot me. I'm not the person who forced me to raise the question.

But I think we should be asked for the answer, which will answer all of us too.

Fordy
10-06-2002, 04:56 AM
Originally posted by zahid
Fordy, don't shoot me. I'm not the person who forced me to raise the question.

Ok...tell me who forced you and I'll shoot them instead....:D

zahid
10-06-2002, 05:05 AM
Walk around, specially next to this GD board. You will discover.

So many times, personally in my study & work place and in other programming boards for a long time. I have heard several times in this board too, but today.. I cannot hold myself but to ask every one of us, who is wasting years of time here like me.

NewAge
10-06-2002, 06:10 AM
Welcome the 21st century.... fight with new Weapon, time of sord is over.

ygfperson
10-06-2002, 06:40 AM
for a second i thought it said "Abandon abortion"... :D

anyway... why? it's not doing any harm. i use it constantly. my graphing calculator uses c to make assembly programs (not c++ because of possible bloat problems).

//edit: oh i see... from the contest forum's human programming thread... but you said your vote would be the first against it?

moi
10-06-2002, 06:56 AM
welcome to last week bud.

zahid
10-06-2002, 07:13 AM
So, you did some work. hmm.. seems my expression wasn't that much clear. I wanted to mean against his opinion.

Shiro
10-06-2002, 08:07 AM
C is currently still used a lot in embedded systems, because of its size, efficiency and speed. But also embedded systems are growing more and more, so architects and designers tend to create their architectures and designs in an object oriented way. Implementation of such designs is possible using C, but it is a lot of work. Better would be to use a language which supports object orientation itself, a language like C++.

The main disadvantages of C++ used to be speed and mainly size. But currently there is the Embedded C++ standard, this standard is a subset of the C++ standard. The purpose of Embedded C++ (EC++) is to use benefit from the object oriented constructions in C++ for implementing. Experiments have shown that EC++ is as fast as C, so one can wonder why to still use C.

I don't think we should abandon C in software development, but I think it will be naturally replaced by other languages, like C++ and EC++. This is not because C is a bad language, but because software development is changing. Software engineers use the tools that fit their needs best and therefore they prefer C++ to implement their designs, which are these days mainly object oriented.


For those interested in C++ in embedded systems, take a look at the articles about it at:
www.embedded.com
www.ddjembedded.com

Jet_Master
10-06-2002, 08:22 AM
if the world abandons c, where the hell are the people who practically live on this board gonna go??? Besides, C is much beter than most of the programming languages out there.
who the f voted for c to be abandoned???

Shiro
10-06-2002, 08:30 AM
>if the world abandons c, where the hell are the people who
>practically live on this board gonna go???

Well, there's also a C++ board here. ;)

>Besides, C is much beter than most of the programming
>languages out there.

When is a programming language better then the other? In my opinion there is no such as better, only "more useful in certain situations".

golfinguy4
10-06-2002, 08:39 AM
Originally posted by Shiro

When is a programming language better then the other? In my opinion there is no such as better, only "more useful in certain situations".

How about when the language is D?

Commander
10-06-2002, 09:48 AM
Originally posted by golfinguy4
How about when the language is D? How about when the the language is java?:cool:

red_baron
10-06-2002, 01:00 PM
Originally posted by Commander
How about when the the language is java?:cool:

have you ever coded in java? its a very useful language, its amazing for internet and web page related programming, and it has many features and pre-defined functions and classes which you can use, making a button is as easy as:
button myButton = new button("this is a button");

java is probably the best language for "write once use many".


http://java.sun.com/j2se/1.4.1/docs/api/

Commander
10-06-2002, 01:51 PM
it was almost a joke! as for me coding java, i did, but a very liitle bit...learning more java right now from ivor horton's book .. damn that thing is huge!

-KEN-
10-06-2002, 03:16 PM
Personally I like C over C++. Dunno why, C++ just gives me an odd feeling when I'm coding in it. Oh well, I'll probably get proficient in C++ for the hell of it, but code in C more often in my leisure.

lightatdawn
10-07-2002, 12:25 AM
I never understand why people make a big fuss over the difference between C and C++. C++ _is_ C with just a little plus... um... plus. :) Its the same damn syntax though.

On occasion I use sprinklings of C when more "convenient" C++ methods are available. iostream is a prime example of some C++ things I avoid like the plague. Everything has its place.

BMJ
10-07-2002, 09:16 AM
... let's see, go to www.cprogramming.com; and ask them if they think the world should abandon c... what a great idea!

;) :D :)

Ruski
10-07-2002, 09:22 AM
C is the ultimate language!! Never abandon it!! :mad: :mad:

BMJ
10-07-2002, 09:25 AM
Originally posted by Ruski
C is the ultimate language!! Never abandon it!! :mad: :mad: What? BASIC is the ultimate language!! Mua ha ha! You all fear my BASIC skillz!!!!!1

Ruski
10-07-2002, 09:31 AM
No way!! BASIC is the 1st programming language invented by man.. C is the ultimate.. Windows was created using C :p

BMJ
10-07-2002, 09:38 AM
Originally posted by Ruski
No way!! BASIC is the 1st programming language invented by man.. C is the ultimate.. Windows was created using C :p But they wrote C in BASIC!!!!! :cool: :cool: :D :p Braaaaaaawr!!!

Ruski
10-07-2002, 09:55 AM
Really? I tought a language isn't written in another language, it's writte in BINARY.. :(, Are you sure?

BMJ
10-07-2002, 10:13 AM
BINARY is 4 writing operating systems!

BASIC writes languages!! Duh!! :) Dont worry, u'll learn!

Fordy
10-07-2002, 01:13 PM
Originally posted by Ruski
Really? I tought a language isn't written in another language, it's writte in BINARY.. :(, Are you sure?

No :p You could write a C compiler in a lot of languages......Hell even basic if you were that warped!....its all about producing a file containing numbers at the end of the day....

zahid
10-07-2002, 10:29 PM
Originally posted by BMJ
But they wrote C in BASIC!!!!! :cool: :cool: :D :p Braaaaaaawr!!!

Tell us your reference/source... I never knew that.

Does anyone know about that statement. ohhh I guess I did not interpret the post correctly.

zahid
10-07-2002, 11:07 PM
According to Lucent Technologies Bell Labs History:
BASIC has no existence in the history of C development.

The Development of the C Language (http://cm.bell-labs.com/cm/cs/who/dmr/chist.html)

Did they change the history? or we are trying....
I guess didn't get enough time to explore.

Fordy
10-08-2002, 02:18 AM
Originally posted by zahid
According to Lucent Technologies Bell Labs History:
BASIC has no existence in the history of C development.

The Development of the C Language (http://cm.bell-labs.com/cm/cs/who/dmr/chist.html)

Did they change the history? or we are trying....
I guess didn't get enough time to explore.

:rolleyes:

Its called "sarcasm" (http://www.dictionary.com/search?q=sarcasm)

Ruski
10-08-2002, 08:02 AM
Let's change the topic to 'Should The World Abandon BASIC' and give only one choice (yes) :p

FillYourBrain
10-08-2002, 09:33 AM
Originally posted by zahid
Location: Asia->Bangladesh->DhakaI would suspect that western humor/sarcasm isn't globally accepted. Let's play nice shall we?:)

Brian
10-09-2002, 09:48 AM
Originally posted by Terrance

It's like saying we should just get rid of java.

What's wrong with that?

Shade
10-09-2002, 12:04 PM
Originally posted by Terrance
c++ is taking over because of oop, but it doesn't mean c isn't good for anything.

You can program OO-Programs in C too :)

It isn't that difficult.

But C is (nearly) a subset of C++, so why prefer it over C++? The only reason I can think of is, that no C++ Compiler is available. C Compilers are much easier to write than C++ Compilers...

But efficienty? Show me a C program that is faster than a C++ program doing the same. Of course, it is much more difficult to write a real good C++ program than a real good C program. But a good programmer is better off with C++ :)

zahid
10-09-2002, 10:46 PM
Originally posted by FillYourBrain
I would suspect that western humor/sarcasm isn't globally accepted. Let's play nice shall we?:)

The day Fordy post it, I checked the following defination:

sar·casm (sär“k²z”…m) n. 1. A cutting, often ironic remark intended to wound. 2. A form of wit that is marked by the use of sarcastic language and is intended to make its victim the butt of contempt or ridicule. 3. The use of sarcasm.

Is that explaining the meaning correctly?

I appreciate that FillYourBrain (Chris Marino) noticed and remarked the fact.

zahid
10-09-2002, 10:56 PM
Wow!!! 7 ..... lots of vote to abandon C.
14.89% vote is not poor in cboard.

Ruski or Fordy, why don't one of you post a poll on 'Should The World Abandon BASIC?' next week.

I'm not sure if BASIC lover will get heart. Here we are the people of C. We can comment on it but BASIC... , I think in these days we can keep/through it in archive. It will be used in future for research of history.

zahid
10-09-2002, 11:16 PM
Originally posted by Shade
You can program OO-Programs in C too :)


Shiro had a thread on 01-01-2002 08:06 PM at
http://cboard.cprogramming.com/showthread.php?s=&threadid=7977

You will still find an interesting book on oop in C. I download and printed the complete book.

http://www.planetpdf.com/codecuts/pdfs/ooc.pdfOOP in C (http://www.planetpdf.com/codecuts/pdfs/ooc.pdf)

DavidP
10-10-2002, 10:18 PM
Should the world abandon C ?


considering Wolfenstien 3D, Doom, Doom II, Quake, Quake II, and Quake 3 were all made using C and not C++? I dont think so.

Dont believe me? Take a look at the source code. id Software has quite a bit of it for download on their website...even Quake III's.