Announcement

Collapse
No announcement yet.

Programming books are very crappy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Programming books are very crappy

    As you may know, I'm now studying computer science.

    I'm now taking a course called Introduction to System Programming, which delves deep into C concepts, and gives very solid C++ knowledge.

    When beginning the course, I started watching the video recorded lectures by our legendary professor, and in the very first lesson he complained about programming books - those written in hebrew, and a large part of those written in English. In fact his old site contains critique of all popular programming books sold in Israel. He said that given the chance we should throw them away.

    I was quite surprised, given that I have collected 4-5 various books about C/C++ which I skimmed through during high school, and I judged them basically by readability and clarity of explanations.

    Just before beginning a large C++ project, I decided to revisit my favorite C++ book, and I was disgusted to find out that I found both factual errors and horrible horrible programming style.

    It's unbelievable I once relied on it. After skimming through it, I threw it out to the trash. And to think thousands of people rely on this crap to teach them programming.

    Another book which I used to not like, was actually quite reliable and factually correct, and contained good programming practice advice, though it never had enough space to properly justify the recommendations and give practical examples of how things could go wrong.

    I'll go over the rest of my books tomorrow.


    I'm also quite enjoying the assembly course (Computer Organization and Programming) although it deals with simpler PDP-11 code.

  • #2
    I keep exactly one book on my desk at work.

    Comment


    • #3
      what about c++?

      http://en.wikipedia.org/wiki/The_C%2...mming_Language ?

      Comment


      • #4
        What's that?

        Comment


        • #5
          It's a language where some ****ty c issues are solved

          Comment


          • #6
            There's really no point to learning C++ or languages like it from a book. The internet's a far better resource. The basics are too easy for a book, and the more advanced issues are best discovered with practice and experience. Also, The C++ FAQ is the best C++ resource for 'gotchas' and 'aha' moments with C++ around.

            Books are more useful in software development from a higher-level perspective. For instance, no real developer can be without the Design Patterns bible. Also, essential reading includes Code Complete, The Mythical Man-Month, and The Pragmatic Programmer. Any developer worth their salt will know of these books.
            "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
            Ben Kenobi: "That means I'm doing something right. "

            Comment


            • #7
              I Also use www.cplusplus.com

              JM
              Jon Miller-
              I AM.CANADIAN
              GENERATION 35: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

              Comment


              • #8
                Asher, how the **** would a C programmer use design patterns?
                Graffiti in a public toilet
                Do not require skill or wit
                Among the **** we all are poets
                Among the poets we are ****.

                Comment


                • #9
                  Originally posted by onodera View Post
                  Asher, how the **** would a C programmer use design patterns?
                  They would have to be a more competent C programmer than you evidently are.

                  C isn't widely used for software development. It's used sparingly in some embedded systems development only, and even that is transitioning to other languages. My comments were aimed towards more robust languages like C++, Java, C#, etc.
                  "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                  Ben Kenobi: "That means I'm doing something right. "

                  Comment


                  • #10
                    Originally posted by Asher View Post
                    They would have to be a more competent C programmer than you evidently are.

                    C isn't widely used for software development. It's used sparingly in some embedded systems development only, and even that is transitioning to other languages. My comments were aimed towards more robust languages like C++, Java, C#, etc.
                    Who's to say that my pointer to a function which takes a pointer to an array of ten void pointers and returns a pointer to a function which takes an int and returns a pointer to a char array isn't the best way to do things?

                    12-17-10 Mohamed Bouazizi NEVER FORGET
                    Stadtluft Macht Frei
                    Killing it is the new killing it
                    Ultima Ratio Regum

                    Comment


                    • #11
                      Also, typedefs are for pussies.

                      12-17-10 Mohamed Bouazizi NEVER FORGET
                      Stadtluft Macht Frei
                      Killing it is the new killing it
                      Ultima Ratio Regum

                      Comment


                      • #12
                        Originally posted by Asher View Post
                        They would have to be a more competent C programmer than you evidently are.

                        C isn't widely used for software development. It's used sparingly in some embedded systems development only, and even that is transitioning to other languages. My comments were aimed towards more robust languages like C++, Java, C#, etc.
                        Linux kernel.

                        Comment


                        • #13
                          Originally posted by Kuciwalker View Post
                          Linux kernel.
                          I rest my case.
                          "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                          Ben Kenobi: "That means I'm doing something right. "

                          Comment


                          • #14
                            Originally posted by KrazyHorse View Post
                            Who's to say that my pointer to a function which takes a pointer to an array of ten void pointers and returns a pointer to a function which takes an int and returns a pointer to a char array isn't the best way to do things?

                            You just described the "C Design Pattern".
                            "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                            Ben Kenobi: "That means I'm doing something right. "

                            Comment


                            • #15
                              Table-based programming
                              12-17-10 Mohamed Bouazizi NEVER FORGET
                              Stadtluft Macht Frei
                              Killing it is the new killing it
                              Ultima Ratio Regum

                              Comment

                              Working...
                              X