Live data from Hacker News

“Code” 2nd Edition

charlespetzold.com

51–60 of 176 posts

Re: “Code” 2nd Edition

#51
"Programming Windows" exposed the simplicity behind the Windows architecture. If you had even a smattering of C experience, Petzold could get you writing Windows applications the same day you opened his book. He triggered an explosion of software development.

There are excellent books for novice Linux programmers, but unfortunately, nothing compared to Petzold's clear and direct presentation.

.

Re: “Code” 2nd Edition

#52
post #41
post #35

I majored in electronics (more than a decade ago) but always worked in software development. Does it still make sense to purchase it? I am eager to buy it, just need the push. :)

I have a similar background in Electrical Engineering and, while I enjoyed the book, it did not change my perspective. I think the book does a good job of opening up what many programmers (and, of course, others) may see as a "black box" that they interact with on a daily basis. I recommend it to those who do not already have a fairly comprehensive of how a computer works, but if you think you pretty much already und…

Thanks for this solid comment. Assembly is the one that I am most removed from at the moment. It is 15 years or more. So it seems like I will enjoy it at the very least.

Re: “Code” 2nd Edition

#53
post #43
post #35

I majored in electronics (more than a decade ago) but always worked in software development. Does it still make sense to purchase it? I am eager to buy it, just need the push. :)

Yes, it does. Here's a little push for you. I think you'll find fascinating how all the pieces of the 'puzzle' fit together beautifully.

Thank you, I decided on it.

Re: “Code” 2nd Edition

#54
We need more people like Petzold in this world. The layers of abstraction are stacked so high that we need to provide a generalist view of what's going on. Some of these Jenga bricks need realignment and people to maintain them, sometimes to re-engineer those bricks to be stronger.

We can't just all sit at the top of the tower and wonder why is it behaving irratically! Please support by purchasing the book.

Re: “Code” 2nd Edition

#55
post #22
post #10

This book was absolutely essential when I was first sinking my teeth into software programming. Things that seemed either arbitrary or completely mysterious suddenly made sense now that I had a contextual understanding of how computers worked . Without having that knowledge, I think my career would have been vastly more difficult and frustrating. While I understand many “get started programming” books/tutorials put a…

Uh, as someone with too many years of programming behind me to imagine that, can you mention some concrete things that you found arbitrary or completely mysterious, and that the booked cleared up for you? Thanks.

What makes this book great is that it more or less only assumes you know how an on-off switch works. Then he goes on to teach you how a (although rather primitive) CPU works and how you would program it.

The teaching style in this book is so unbelievably good that even if you know all the ins and outs of a computer you want to read on because he explains everything in a way that you wish that you would have come up with yourself.

Re: “Code” 2nd Edition

#56

"Programming Windows" exposed the simplicity behind the Windows architecture. If you had even a smattering of C experience, Petzold could get you writing Windows applications the same day you opened his book. He triggered an explosion of software development. There are excellent books for novice Linux programmers, but unfortunately, nothing compared to Petzold's clear and direct presentation. .

> There are excellent books for novice Linux programmers

Do you have any suggestions in this regard?

Re: “Code” 2nd Edition

#57
post #41
post #35

I majored in electronics (more than a decade ago) but always worked in software development. Does it still make sense to purchase it? I am eager to buy it, just need the push. :)

I have a similar background in Electrical Engineering and, while I enjoyed the book, it did not change my perspective. I think the book does a good job of opening up what many programmers (and, of course, others) may see as a "black box" that they interact with on a daily basis. I recommend it to those who do not already have a fairly comprehensive of how a computer works, but if you think you pretty much already und…

I second this. I found it to be a little elementary for me since I already know these concepts.

But it is useful for a lot of people who don't know how a computer really works.

Re: “Code” 2nd Edition

#58
post #5

This book (1st edition, at least) is astonishing. Perhaps the best book for coders that I’ve ever read. I recommend it to all the HN crowd. Reading it, I felt like I actually understood how computers worked, right down to the “electricity going through wires” level and lower, and how that builds up to if-then statements, etc, in a high-level language.

The content is something we learn in universities, even deeper. I think it's good for self taught programmers

This ~$40 book was way, way, way more valuable education material than the many thousands of dollars I wasted on a university program.

Re: “Code” 2nd Edition

#59
post #14

Great book -- read it when I was a teenager -- but one thing that I think makes the book a bit harder to explain to smaller kids these days is the use of relays for explaining lots of things. Its a great concept to explain things but it does tend to cause a bit of confusing for younger kids who may not have played with electromagnets as much as kids from 20-30 years ago. Not sure what to replace relays with but maybe…

Hydraulic relays? I vaguely remember coming across a similar "bottom-up" book about how computers work many decades ago (near the end of the mainframe/minicomputer era) which used water flowing through pipes and valves as its analogy. Unfortunately the title wasn't so memorable, but I do recall the cover was a photo of a little girl filling a bucket from a spigot on the outside of a house. Does anyone know what book that was? I've searched a bit before, but had no luck.

Re: “Code” 2nd Edition

#60
post #35

I majored in electronics (more than a decade ago) but always worked in software development. Does it still make sense to purchase it? I am eager to buy it, just need the push. :)

(Assuming the second edition is as good as the first) yes. This is the kind of book you can read on a plane ride from New York to San Francisco without taking notes or opening up your computer, and still get a lot out of. It's captivating but conversational and well written.
Post reply on HN