Live data from Hacker News

“Code” 2nd Edition

charlespetzold.com

151–160 of 176 posts

Re: “Code” 2nd Edition

#151

"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. .

If I remember correctly, Programming Windows had a desktop app focus, whereas Jeffrey Richter’s book(s) had a system focus. Then .NET happened and almost anybody could program Windows apps, assuming Microsoft didn’t keep deprecating frameworks and languages all the time.

And in the end it turned out that it’s not worth programming windows any more. Just use Qt, Java or the awful web technology of the day and you’ll probably be better off than with whatever MS is recommending.

Re: “Code” 2nd Edition

#153
post #89
post #68

Earlier quoted context omitted.

I often wonder: for someone with no understanding of how computers work; no idea about electricity and transistors, no idea about CPUs executing instructions, no idea about software and abstraction: what do they think about when they click a ‘play’ button in a music player, and the interface updates and music starts? Do they think about what is happening ‘inside’ the box? I think I do. I suspect I have a completely d…

> I find it hard to imagine how they must see the modern world. It must seem like magic! I think this is unnecessarily infantilizing. There are a great many very complex things in the modern world, and people must employ abstractions for most of it. I think with the rise of multi form factor computing, there is more basic literacy about the nature of computers these days. People don’t think that a phone god makes the…

We etch runes into stones, imbue them with lightning, and thereby make them come alive and do our bidding... and you want to tell me computers are not magic?!

Re: “Code” 2nd Edition

#155
Is this book useful for a 10-year-old-experience software engineer (I also studied Computer Science)? I usually see this book named as “worth it” but I don’t know if it is an introduction to computer science or it is really interesting for an experienced developer.

Re: “Code” 2nd Edition

#158
post #81

Earlier quoted context omitted.

Absolutely! My first software job back in 94, on my first day I was given a battered copy of Petzold and told to read and do the exercises up to chapter 7. It was an extremely effective boot camp for a novice windows programmer

I don't remember there being exercises in those books.

You may well be correct, the instructions might just have been to code along with the book, I know that part of the exercise was definitely to ensure that I could use the tools. It was 28 years ago, I'm fuzzy on the details :)

Re: “Code” 2nd Edition

#159

Is this book useful for a 10-year-old-experience software engineer (I also studied Computer Science)? I usually see this book named as “worth it” but I don’t know if it is an introduction to computer science or it is really interesting for an experienced developer.

It's interesting because you'll learn how to explain things better to the newbies. Pick up a pdf on libgen, check it out. If you like it buy it, if not you're still square even.

Re: “Code” 2nd Edition

#160

Code is my favorite technical book of all time [1]. Charles does an amazing job of building a computer up from basic principles "two young boys who want to communicate after their parents tell them to go to bed at night" all the way to modern (for 1999) computers. He layers abstraction on top of abstraction all the way to a working computer. My only (slight) disappointment in the book is that he tries to cover operat…

I picked it up years ago, got through the first few chapters, but then never finished it. I loved the early buildup and still want to go back and keep reading.

Same! Still one of my favorite books ever read, but other than the floating point chapter it started getting over my head.
Post reply on HN