Slashdot Mirror


The New C Standard

derek_farn writes "At a very late stage Addison Wesley decided not to publish my book, 'The New C Standard: An economic and cultural commentary'. Now that the copyright issues have been sorted out I am making the pdf freely available. You can download the pdf (mirror 1). The organization is rather unusual in that the commentary covers each sentence of the C Standard (actually the latest draft of C0X, excluding library) one by one (all 2022 of them). One major new angle is using the results from studies in cognitive psychology to try and figure out how developers comprehend code. The aim being to try and produce some coding guidelines that reduce costs (ie, reduce the time needed and bugs created). The book also contains the results of lots of measurements (over 400 figures and tables) in an attempt to back the arguments being made -- another unusual feature since most software related books don't publish any figures to back up what they say. Other subsections discuss common implementations and differences between the latest draft standard and C90/C++. More background on the project is available from the Inquirer.

20 of 400 comments (clear)

  1. Why would you use this? by Anonymous Coward · · Score: 5, Funny

    C is over with already, geez. Slow, cumbersome, and nobody has a compiler for it. You should be switching to Java by now. It's fast, portable, and the JVM is everywhere. The Novell JVM is the fastest. Dennis Ritchie's time is past. Let the dinosaur turn into oil already and upgrade to the technology that will take us into the 22nd century and beyond. JAVA!

    1. Re:Why would you use this? by satan666 · · Score: 5, Funny

      Puh-leaze! Java-this and Java-that. Why not use a language that is designed for speed: COBOL

  2. Because... by crow_t_robot · · Score: 0, Funny

    ...you don't have any cool graphics on your cover page.

  3. 1616 by mnemonic_ · · Score: 4, Funny

    That's the number of the beast multiplied by 2.426! Incredible!

  4. I'm waiting for D by winkydink · · Score: 4, Funny

    I don't think this C-thing is going to catch on. :)

    --

    "I'd rather be a lightning rod than a seismometer." -Ken Kesey

  5. C0X by zephc · · Score: 4, Funny

    It seems that some men love C0X, but most men want nothing to do with C0X. The men that like C0X say there's nothing like the feel of the thick C0X standard in your hands.

    --
    "I would say that 99 per cent of what my father has written about his own life is false." - L. Ron Hubbard Jr.
  6. Re:Nice to have on the bookshelf...for a few of us by Doctor+Memory · · Score: 1, Funny

    where is the Karma Reset button

    Around here that's known as a "trigger"...

    --
    Just junk food for thought...
  7. Not Again... by uberdave · · Score: 5, Funny

    No. This is obviously the NEW C standard they've been talking about. I haven't read the article, but clearly they've loosend up on punctuation. Also, any comparisons to directives starting with MAX must automatically default to a "less than" comparison.

    1. Re:Not Again... by Kloog · · Score: 2, Funny

      Hopefully they will soon apologize and bring back the old standard as "C Classic."

  8. Re:One Thousand Sixteen Pages? by Anonymous Coward · · Score: 2, Funny
    (It's actually 1616 pages)

    From the back of K&R: "C is not a big language, and it is not well served by a big book."

    I guess K&R must be rolling over in their graves (or soon will).

  9. Re:Thinly Veiled Job Request by iminplaya · · Score: 2, Funny

    (Score:0, Redundant)

    Do'h!

    --
    What?
  10. Now that the copyright issues have been sorted out by Trinition · · Score: 3, Funny

    Now that the copyright issues have been sorted out...

    As I was reading this sentence, my heart stopped and my mind jumped for joy. I thought the RIAA/MPAA/etc. had finally given up, congress had rolled back copyright terms, and the GPL was finally successfully tested in court.

    Then I read the rest... *sigh* oh well.

  11. 1983 called... by tundog · · Score: 2, Funny

    1983 called and it wants its 'new' standard back...

    --
    All your base are belong to us!
  12. Re:Author comments by Anonymous Coward · · Score: 1, Funny
    the ISBN number is
    No. It is not a ISBN number. It is a ISBN, or ISB number. Do you also say ATM machine, NASA administration and PIN number?
  13. bored now... by h4x0r-3l337 · · Score: 2, Funny

    I got bored just reading the slashdot article about this book. No wonder Addison Wesley decided not to publish it.

  14. Re:At over 1600 pages?! by lisany · · Score: 2, Funny

    Not counting the citations at the end, the book is 1,577 pages of "guidelines." Who's got that kind of time for a hobby? Who, having a job as a programmer, even has the time to read a book like that?

    1577 pages? Ever hear of Lord of the Rings?

  15. 1616 pages by St.+Arbirix · · Score: 2, Funny

    Mmm, this'll be nice for benchmarking my printer.

    --
    Direct away from face when opening.
  16. Re:At over 1600 pages?! by Pollardito · · Score: 2, Funny
    Not counting the citations at the end, the book is 1,577 pages of "guidelines." Who's got that kind of time for a hobby? Who, having a job as a programmer, even has the time to read a book like that?
    if you don't have time, just wait for the 30 CD audio version
  17. Re:At over 1600 pages?! by pommiekiwifruit · · Score: 2, Funny
    Well, that Donald Knuth guy still hasn't finished writing his book "The Art of Computer Programming" so he's got a way to go before getting the "gets side-tracked" award :-)

    And IIRC John Harrison (the Chronometer guy) wrote multi-page paragraphs, so some georgian and victorian writers can get fairly lengthy :-)

  18. Mother of God by Hard_Code · · Score: 2, Funny

    Wow, if you are thrilled by language specifications, they you will shit your pants at the bonus 80 pages of experimental psychology background!

    But seriously, good work dude ;)

    "Sir, none of our techniques are breaking the prisoner"
    "I was worried about this, they must have trained him on The New C Standard"

    --

    It's 10 PM. Do you know if you're un-American?