Hacker ApprovedDepartments

Programming Windows

Programming Windows by Charles Petzold

by Charles Petzold

Hacker Approved

Ranked 9 of 115 programming books by recommenders

People recommend it as a thorough, well-written guide to Win32 programming that many learned from directly. The most common caveat is that it takes a long time to work through.

People recommend it as a thorough, well-written guide to Win32 programming that many learned from directly. The most common caveat is that it takes a long time to work through.

14 people gave an opinion

recommend it
14
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 14 people recommend itNeeds 10 or more, met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Thorough and well written

    “devoted an entire chapter (chapter 7) to memory management, with diagrams and examples”

    Comment from 7 Jun 2026 in “Win16 Memory Management”

    “PLENTY of very thorough documentation (Petzold's "Programming Windows"!)”

    Comment from 3 Mar 2026 in “The beauty and terror of modding Windows”

    “His book was a shining example of how good a programming book could be.”

    Comment from 27 May 2026 in “Ask HN: What old developer tool do you still miss?”
  • Taught Win32 programming to readers

    “It was a matter of having access to the right (although limited) resources such as Petzold’s book, Codeproject and experimentation.”

    Comment from 23 Mar 2026 in “Windows native app development is a mess”

    “I practically had the Charles Petzold Programming Windows book memorized back in the day”

    Comment from 26 Sep 2026 in “What even is an OS now?”

    “It is a fantastic book, I learned everything I know on Win32 from it.”

    Comment from 6 Apr 2026 in “Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold”
  • Canonical reference from a respected author

    “Charles Petzold wrote the canonical reference works for programming Win32 and MFC.”

    Comment from 15 Mar 2026 in “The Appalling Stupidity of Spotify's AI DJ”

    “Petzold's famous book on the subject, published by Microsoft Press itself”

    Comment from 21 Mar 2026 in “Windows 11's Start menu was built using React – now switching to native WinUI”

What people warn about

Each mark is one comment

  • Slow going, takes a while

    “Took awhile to grind through it.”

    Comment from 5 Apr 2026 in “Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold”

Other programming books people recommend

The four most recommended other programming books, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Programming Windows by Charles Petzold compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Crafting Interpretersby Robert Nystrom60494%10—Approved
Clean Codeby Robert C. Martin318726%9——
The Pragmatic Programmerby Hunt and Thomas28197%7—Approved
How to Design Programsby Felleisen, Findler, Flatt and Krishnamurthi18290%7—Approved
Programming Windowsby Charles PetzoldThis page140100%7—Approved
See all 115 programming books, ranked

What people said

14 of the 16 comments that mention it, newest first. Each links to the original comment.

“I practically had the Charles Petzold Programming Windows book memorized back in the day”

RecommendsComment from 26 Sep 2026 in “What even is an OS now?”

“so much bullshit boilerplate was required to get a GUI up on a OS literally named after its GUI windows”

MixedComment from 19 Jul 2026 in “Even Microsoft couldn't make Windows 11 work well on 8GB of RAM”

“devoted an entire chapter (chapter 7) to memory management, with diagrams and examples”

RecommendsComment from 7 Jun 2026 in “Win16 Memory Management”

“His book was a shining example of how good a programming book could be.”

RecommendsComment from 27 May 2026 in “Ask HN: What old developer tool do you still miss?”

“It is a fantastic book, I learned everything I know on Win32 from it.”

RecommendsComment from 6 Apr 2026 in “Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold”

“Took awhile to grind through it.”

MixedComment from 5 Apr 2026 in “Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold”

“Pretty much everything in there still works, if I type it in and compile it with the current Visual C/C++ toolchain.”

RecommendsComment from 24 Mar 2026 in “Microsoft's "Fix" for Windows 11: Flowers After the Beating”

“It was a matter of having access to the right (although limited) resources such as Petzold’s book, Codeproject and experimentation.”

RecommendsComment from 23 Mar 2026 in “Windows native app development is a mess”

“Petzold's famous book on the subject, published by Microsoft Press itself”

RecommendsComment from 21 Mar 2026 in “Windows 11's Start menu was built using React – now switching to native WinUI”

“Charles Petzold wrote the canonical reference works for programming Win32 and MFC.”

RecommendsComment from 15 Mar 2026 in “The Appalling Stupidity of Spotify's AI DJ”

“PLENTY of very thorough documentation (Petzold's "Programming Windows"!)”

RecommendsComment from 3 Mar 2026 in “The beauty and terror of modding Windows”

“those books look really thorough and well written”

RecommendsComment from 29 Jan 2026 in “Winapp, the Windows App Development CLI – Windows Developer Blog”

“the good ones back in the day”

RecommendsComment from 29 Jan 2026 in “Winapp, the Windows App Development CLI – Windows Developer Blog”

“and Petzold's book to follow along”

RecommendsComment from 4 Jan 2026 in “Swift on Android: Full Native App Development Now Possible”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.