Link Details

Link 56559 thumbnail
User 259754 avatar

By aroman07
via andromeda.com
Published: Dec 10 2007 / 16:17

To get on this list, a bug has to be able to cause at least half a day of futile head scratching, and has to be aggravated by the poor design of the "C" language.
  • 11
  • 9
  • 3656
  • 3

Comments

Add your comment
User 244565 avatar

palsforpals replied ago:

1 votes Vote down Vote up Reply

Although its more that 10 points he mentions...and the first ones are pretty childish... But some of those mentioned near the end are quite true

User 200723 avatar

ferruccio replied ago:

2 votes Vote down Vote up Reply

Summary: don't try to write C code if you don't know C. Most of these are really silly until #17.

User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

Yes. Overall, C programming is easier than Java programming.

User 254835 avatar

wittgen replied ago:

0 votes Vote down Vote up Reply

are you mental?

User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

I'm experienced in both languages, Java and C. Of course, C is easier.

User 254835 avatar

wittgen replied ago:

0 votes Vote down Vote up Reply

If by easier you mean a smaller language, then yes it is. If you need to write interface drivers for linux, then yes it is. If you have a desire to work with pointers and memory allocation, then yes it is. And so on.

User 261711 avatar

Rickasaurus replied ago:

0 votes Vote down Vote up Reply

C is simple but it gives you a lot of rope to hang yourself with. Good programming practices and self discipline are essential.

Anyway, I found this article to be kind of vague. I wish it spent more time on each example. Describing what exactly the problem with each example was and maybe giving some suggestions on how to avoid the problem in the first place would make this a much better article.
,

User 254835 avatar

wittgen replied ago:

0 votes Vote down Vote up Reply

I would call C simple, yes. But it is not simplistic. It has its uses, but if it was an "easier" language than java, it would be used for java-like purposes. But it isn't. Even if I wanted to write a utlity for a small day to day task, C would be way down the list, after a bash script, then perl, awk, python, even PHP is not so bad as a command line language. Why bother with the inconvenience when you have specialised languages. That's the problem with C, it's too low level to be a handy everyday tool. Great for systems level stuff, otherwise avoided unless you are a C expert.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Spring Integration
Written by: Soby Chacko
Featured Refcardz: Top Refcardz:
  1. Search Patterns
  2. Python
  3. C++
  4. Design Patterns
  5. OO JS
  1. PhoneGap
  2. Spring Integration
  3. Regex
  4. Git
  5. Java