In the midst of so many powerful high-level languages, C should only be used as a language of last resort.

By 4 Zen Device on March 09, 2007

I mean, it's just one step away from assembler, and for most programming needs, there are languages that will let you build application faster and without the headaches of C.

Embed Claim Make a related claim

Discussion (13)

http://www.tapsellferrier.co.uk/nicferrier/

8 nic who disagreed, says

everything migrates to C in the end so it can be more easily composed with higher level languages. That's ok.

C's not that bad for goodness sake.

Make a related claim about 1 year ago (link)
http://devnull.myopenid.com/

4 Zen Device who agreed, says

It's not that bad it's just that I think there are other languages better suited to most common tasks and especially business applications. It is great and especially necessary for extending the capabilities of other languages.

Make a related claim about 1 year ago (link)
http://darch.myopenid.com/

6 D'Archangel who disagreed, says

Penultimate resort, maybe. See the description.

D'A

Make a related claim about 1 year ago (link)
http://david.harris.name/

1 David Harris who disagreed, says

Really depends heavily on the task at hand... I've made some hefty bonuses in optimization that C allowed for...

Make a related claim about 1 year ago (link)
http://www.chrismakarsky.com/

1 cmak who disagreed, says

...different tools for different problems...

Make a related claim about 1 year ago (link)
http://www.allentom.com/

5 Atom Dude who disagreed, says

C is the One True Language

Make a related claim about 1 year ago (link)
http://thezed.myopenid.com/

2 The Zed who disagreed, says

C is great !

Some sad people use it for everything.
Some sad people use it only under life threat.
Many wise people build great systems by combining the best of both world (HL/LL).

Agree with me here: http://jyte.com/cl/the-best-all-purpose-language-combination-is-rubyc

:P

Make a related claim about 1 year ago (link)
http://meangrape.myopenid.com/

3 Jay who disagreed, says

With cmak. Different languages for different problem domains. Sometimes it will be the first thing you look at and assembly will be the language of last resort.

Make a related claim about 1 year ago (link)
http://brianshields.myopenid.com/

4 Brian Shields who disagreed, says

Assembly is the last resort

Make a related claim about 1 year ago (link)
http://rprogrammer.myopenid.com/

No_score RProgrammer who agreed, says

I think you mean 'higher' level languages. I'm positive you're not implying that BASIC is to be used in lieu of C.

Make a related claim about 1 year ago (link)
http://rprogrammer.myopenid.com/

No_score RProgrammer who agreed, says

I think you should more clearly define the context of the application.
For a desktop app, Java or C++ is probably the best way.
For server-side business code, Ruby, Java, (numerous etc.s).
But C should always be considered for extending another language for anything hardcore (compression, simulation, video-editing).

And although you probably are in the context of full-fledge computers, C is of course widely used in micro-processors.

Make a related claim about 1 year ago (link)
http://maco.myopenid.com/

1 Mackenzie Morgan who disagreed, says

C is the Swiss Army Knife of languages. You might have a monkey wrench or allen wrench (sp?) or pen knife for when you need those things, but carrying all that stuff around (learning all those languages) is bothersome. One tool (language) that can "just do it" is handy.

Make a related claim about 1 year ago (link)
http://darch.myopenid.com/

6 D'Archangel who disagreed, says

That is pretty much totally wrongheaded. C is a general-purpose language, but so are most that we'll be talking about around here. C has access to some stuff other high-level languages would prefer to abstract away, but that is in no way an unmixed blessing. Most of the time, the abstraction is exactly what you want; having to work without it is like pulling teeth without anesthetic: You can do it, but it's really more painful than the alternatives.

C is less powerful and expressive than a *lot* of general-purpose languages, and vastly inferior in limited domains than a task-specific language. It is a very specifically useful tool, supreme in one domain and kind of crappy in most others.

D'A

Make a related claim about 1 year ago (link)
Sign in in to leave a comment.