News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of C by betterunix on Thursday January 10, 2013 @12:56PM (#5038509)
"good clean C"

Is there such a thing? It seems like every C program, even ones that are praised as being excellently written, are a mess of pointers, memory management, conditional statements that check for errors, special return value codes, and so forth.

To put it another way, look at the difference between an implementation of a Red/Black Tree in C and one written in Lisp or Haskell. Not only are basic things overly difficult to get right in C, but C does not become any easier as problem sizes scale up; it lacks expressiveness and forces programmers to deal with low-level details regardless of how high-level their program is.

Re:The Unreasonable Effectiveness of C by xyzzy123 on Thursday January 10, 2013 @01:26PM (#5038725)
Um. Read Bentley. Get back to me. Yesterday's old shit is last week's high level. Turns out clear thought in any language is the main thing.
Re:The Unreasonable Effectiveness of C by betterunix on Thursday January 10, 2013 @02:12PM (#5039045)
"Turns out clear thought in any language is the main thing."

No, the ability to express your thought clearly is the main thing -- and that is why languages matter. If your code is cluttered with pointer-juggling, error-checking conditional statements, and the other hoops C forces you to jump through, then your code is not clear.

Try expressing your code clearly in BF, then get back to me about this "languages don't matter as long as your have clear thought" philosophy.

Re:The Unreasonable Effectiveness of C by ericdschmidt on Friday January 11, 2013 @02:26AM (#5041776)
Can both of you guys just get back to me later? Kinda busy now.
Re:The Unreasonable Effectiveness of C by panduwana on Friday January 11, 2013 @10:46PM (#5046419)
Sure. RBTree in C is that ugly. Take your time.