Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Do you have a favorite programming book and if so, what is it?

Do you have a favorite programming book and if so, what is it?

Scheduled Pinned Locked Moved The Lounge
questionc++learning
87 Posts 42 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H honey the codewitch

    Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

    Real programmers use butterflies

    Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu Peter
    wrote on last edited by
    #54

    Not that I reading it anymore, but have a special place for my copy of PC Intern - System Programming by Michael Tischer... It is about DOS so mostly irrelevant, but I've learned a lot about how to see things from that book...

    "The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012

    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

    L 1 Reply Last reply
    0
    • H honey the codewitch

      Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

      Real programmers use butterflies

      S Offline
      S Offline
      Stepan Hakobyan
      wrote on last edited by
      #55

      Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries by Krzysztof Cwalina, Jeremy Barton, Brad Abrams

      1 Reply Last reply
      0
      • H honey the codewitch

        Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

        Real programmers use butterflies

        M Offline
        M Offline
        M Vo
        wrote on last edited by
        #56

        Yes. "Clean Code" by Robert C. Martin. His central point is that most of the time you READ code, so you have to write it in a way that you can read it easily. And he shows how to do this - and wrote the book in a way that you can read even the book easily.

        1 Reply Last reply
        0
        • H honey the codewitch

          Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

          Real programmers use butterflies

          J Offline
          J Offline
          jhaga
          wrote on last edited by
          #57

          C# and the .NET Platform by Andrew Troelsen

          jhaga

          1 Reply Last reply
          0
          • H honey the codewitch

            Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

            Real programmers use butterflies

            A Offline
            A Offline
            Andrew Leeder
            wrote on last edited by
            #58

            'C' Programming, K & R, first edition.

            F 1 Reply Last reply
            0
            • H honey the codewitch

              In all seriousness, I adopt a more relaxed style for my personal projects versus my professional projects. The thing is, after years of confining myself to the house style (whatever shop i'm at) working my own way is liberating. Maybe I'm a bit extreme about it. The other thing is, and maybe I shouldn't admit this here but I often am not thinking when I'm writing code. It just comes to me, and I let it. I've written some of my best code that way, so I don't fight it, but it's a bit like free association writing so it's going to reflect my underlying style preferences.

              Real programmers use butterflies

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #59

              honey the codewitch wrote:

              I adopt a more relaxed style for my personal projects versus my professional projects.

              "We are what we repeatedly do. Excellence, then, is not an act, but a habit." —Aristotle I couldn't even adopt a relaxed style if I wanted to. I have one style and it's as relaxed as can be. And I've used this style in multiple teams and I never had complaints. Well, no complaints on my style at least :laugh:

              honey the codewitch wrote:

              I often am not thinking when I'm writing code

              So consistent with your posting here? ;p But seriously, if single-line if-statements are your worst crime you're doing a pretty good job! I've seen 100+ line functions, 3000+ line classes (WinForms even), completely absurd and ridiculous database designs that weighed the whole project down, etc. In that perspective, style really isn't that important.

              Best, Sander Azure Serverless Succinctly Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

              1 Reply Last reply
              0
              • P PIEBALDconsult

                I was thinking about that just the other day. "Code" by Charles Petzold.

                M Offline
                M Offline
                Martin ISDN
                wrote on last edited by
                #60

                the best

                1 Reply Last reply
                0
                • H honey the codewitch

                  Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                  Real programmers use butterflies

                  M Offline
                  M Offline
                  Martin ISDN
                  wrote on last edited by
                  #61

                  "The C Programming Language" 1st edition 1978 by Brian Kernighan and Dennis Ritchie. it's absence of restrictions and it's generality. notable mentions "Foundations of Python Network Programming" 2004 by John Goerzen "The Principles of Object-Oriented JavaScript" 2004 by Nicholas C. Zakas

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                    Real programmers use butterflies

                    O Offline
                    O Offline
                    obermd
                    wrote on last edited by
                    #62

                    I'd have to go with Charles Petzold's Windows (C) Programming book.

                    1 Reply Last reply
                    0
                    • A Andrew Leeder

                      'C' Programming, K & R, first edition.

                      F Offline
                      F Offline
                      Forogar
                      wrote on last edited by
                      #63

                      This was one of the first programming books I ever bought.

                      - I would love to change the world, but they won’t give me the source code.

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        The dragon book is in the running for me but minus points because it could have been written to be far more accessible.

                        Real programmers use butterflies

                        M Offline
                        M Offline
                        Member 9311455
                        wrote on last edited by
                        #64

                        K&R from decades gone by.

                        “If only you could see what I’ve seen with your eyes”

                        J 1 Reply Last reply
                        0
                        • H honey the codewitch

                          Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                          Real programmers use butterflies

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #65

                          Back in the office I have a half dozenish of them. Several are stacked under the non-height adjustable monitor I left there back in march (I liked my spare monitor at home better), and the other half were used to put my laptop screen at a similar height to my monitors (at home I'm using a 6-pack of Coke :-\ ).

                          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                          1 Reply Last reply
                          0
                          • J Jon McKee

                            I was going to say Clean Code by Robert C. Martin but Sander beat me to it, so I'm gonna go with [Specifying Systems by Leslie Lamport](https://lamport.azurewebsites.net/tla/book.html). Not only is it a really interesting book but it's also pretty good for brushing up on discrete mathematics.

                            Sander RosselS Offline
                            Sander RosselS Offline
                            Sander Rossel
                            wrote on last edited by
                            #66

                            I read Leslie Nielsen because I didn't expect to see any other Leslie on CP. Had to read it twice :laugh:

                            Best, Sander Azure Serverless Succinctly Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                            J 1 Reply Last reply
                            0
                            • P PIEBALDconsult

                              I was thinking about that just the other day. "Code" by Charles Petzold.

                              D Offline
                              D Offline
                              David Carta
                              wrote on last edited by
                              #67

                              I found Code to be amazing for the first half of the book, but it lost clarity for me in the second half. It just seemed that he lost the desire to make his more advanced information approachable. "Qulatiy is Job #1"

                              1 Reply Last reply
                              0
                              • H honey the codewitch

                                Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                                Real programmers use butterflies

                                G Offline
                                G Offline
                                gervacleto
                                wrote on last edited by
                                #68

                                The C Programming Language by Kernigan and Ritchie I read this book in mid 80's and it was inspirational to me. At that time I had an Amiga, with Aztec C Compiler and used this book to travel through the mechanics of programming. Very well explained and not too much technical (… sure?). But for me, this book was a trap, because C is in itself a very hard matter to learn well and those guys put it as a if it was like a stroll on a farm and not like climbing the Everest.

                                The day you do not learn something new, is a wasted day!

                                1 Reply Last reply
                                0
                                • R RDM Jr

                                  For me, it's a toss up between Kernighan & Ritchie's The C Programming Language, and Aho, Kernighan and Weinberger's The AWK Programming Language. Other books I remember from college days include Fortran IV With Watfor and Watfiv, and a two book set of Shelley & Cashman on Cobol. Those are all still around, somewhere in the attic, along with a lot of seriously outdated hardware. I know there's a 300 baud modem with the acoustic couplers for a standard Bell desk phone's handset up there, and a couple of cases of 80-column cards.

                                  D Offline
                                  D Offline
                                  David Carta
                                  wrote on last edited by
                                  #69

                                  Plus one for this choice: Kernighan & Ritchie's The C Programming Language I taught myself C by reading and re-reading the second edition and everything was approachable, right through the end. "Qulatiy is Job #1"

                                  1 Reply Last reply
                                  0
                                  • H honey the codewitch

                                    Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                                    Real programmers use butterflies

                                    H Offline
                                    H Offline
                                    henrin
                                    wrote on last edited by
                                    #70

                                    Yes I do: Méthodes de programmation (2nd ed. Eyrolles 1986) by Bertrand Meyer (who created the Eiffel programming language and the idea of design by contract), and Claude Baudoin

                                    1 Reply Last reply
                                    0
                                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                      Not that I reading it anymore, but have a special place for my copy of PC Intern - System Programming by Michael Tischer... It is about DOS so mostly irrelevant, but I've learned a lot about how to see things from that book...

                                      "The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #71

                                      For nostalgia, I still have IBM's Guide to Operations, and Technical Reference, for the PC; which included a source listing of the BIOS, printer codes, memory addresses, etc. Now you just go and buy a chip.

                                      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                                      1 Reply Last reply
                                      0
                                      • H honey the codewitch

                                        Mine would be Accelerated C++ by Andrew Koenig and Barbara Moo. It's mercifully short, and it teaches C++ the Right Way(TM) - the way Bjarne intended it to be used, and how it works best. It's suitable for beginners to C++ and in fact I recommend it for teaching C++, and it's the only one I'll recommend for that.

                                        Real programmers use butterflies

                                        S Offline
                                        S Offline
                                        sasadler
                                        wrote on last edited by
                                        #72

                                        I haven't touched it in a few decades but Starting Forth by Leo Brodie. And yes I am old!

                                        H 1 Reply Last reply
                                        0
                                        • S sasadler

                                          I haven't touched it in a few decades but Starting Forth by Leo Brodie. And yes I am old!

                                          H Offline
                                          H Offline
                                          honey the codewitch
                                          wrote on last edited by
                                          #73

                                          Wow, Forth. There's a blast from the past! Unlike Cobol, I don't usually hear a lot about old software written in Forth. I can't remember the last time I've even heard it. :)

                                          Real programmers use butterflies

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups