,
Goodreads helps you keep track of books you want to read.
Start by marking “Code: The Hidden Language of Computer Hardware and Software” as Want to Read:
Code: The Hidden Language of Computer Hardware and Software
Enlarge cover
Rate this book
Clear rating
Open Preview

Code: The Hidden Language of Computer Hardware and Software

4.39  ·  Rating details ·  8,408 ratings  ·  705 reviews
What do flashlights, the British invasion, black cats, and seesaws have to do with computers? In CODE, they show us the ingenious ways we manipulate language and invent new means of communicating with each other. And through CODE, we see how this ingenuity and our very human compulsion to communicate have driven the technological innovations of the past two centuries.

Usin
...more
Paperback, 400 pages
Published October 11th 2000 by Microsoft Press (first published September 29th 1999)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Code, please sign up.
Popular Answered Questions
Matthew Hayes This book pretty quickly gets into electricity and basic circuits.
As you get further into the book, it gets very technical, to the point where you are…more
This book pretty quickly gets into electricity and basic circuits.
As you get further into the book, it gets very technical, to the point where you are actually building a computer and programming it.

There isn't any math, but definitely electronics and computer science.

I would not recommend this if you "in general have no inclination towards the sciences".(less)
Dan Drake I read the Kindle version, and it's fine. A couple things don't quite work, though: there are a lot of large-ish tables and sometimes flipping the pag…moreI read the Kindle version, and it's fine. A couple things don't quite work, though: there are a lot of large-ish tables and sometimes flipping the page past them requires being careful about where you tap/swipe (I have a Paperwhite).

There's also a bit on fonts and typefaces, and the text in that section all appears identical even though it's clear that in the print version, it's different.

So, the Kindle version isn't a perfect version, but I'd say it's "comfortable" and perfectly readable. If you have a Kindle and want to read this book with it, go ahead. It's a good book.(less)

Community Reviews

Showing 1-30
Average rating 4.39  · 
Rating details
 ·  8,408 ratings  ·  705 reviews


More filters
 | 
Sort order
Start your review of Code: The Hidden Language of Computer Hardware and Software
Craig
Aug 14, 2011 rated it it was amazing
I'll be honest. I only read this book because it was quoted as a must read by Joel Spolsky on a stackexchange answer about how to go about learning programming (and finding out if you want/should be a programmer).

I was a little hesitant due to the year of release. Being at least some 11 years old that's a lot of time in the tech world. Ultimately though that doesn't matter. I defy any developer/programmer/system builder to read this book and not blitz through it lapping it up. Yes if you've done
...more
Naessens
Mar 15, 2013 rated it liked it
My opinion on this book is really divided : on the one hand I enjoy some chapters, on the other hand I hardly managed to restrain myself from flipping through other chapters. Basically, this book designs and builds a basic computer by introducing in each chapter a concept or a technology used inside computers. It was written from 1987 to 1999, consequently one shouldn't expect any description of newest technologies.

It starts really slowly with the first chapters, but then things get more and mor
...more
Always Pouting
Feb 18, 2022 rated it really liked it  ·  review of another edition
I got this book because a friend was doing a book club but then I forgot about the book club. I decided to read it now so I could at least pretend like I was being productive while reading during work. I actually learnt a lot and now have context for a lot of things that I didn't understand before. I feel like knowing the history/development of any subject just helps make it more interesting and explains why things might be a certain way. I would say I don't know if this is good casual reading. ...more
Cardinal Biggles
Jul 23, 2012 rated it it was amazing
Shelves: computers, nonfiction
Raise your hand if you think metaphors and analogies should be used sparingly. I'll raise my hand with you. This book is for us.

After reading this book, I can see behind the pixels on my computer screen. I know what I'm really looking at. So many layers of abstraction are removed by learning about how logic gates can be arranged as processors and RAM, how code is simply a representation of those microscopic switches being flipped, and how pixels are simply a graphical interpretation of the state
...more
Yevgeniy Brikman
Every single person in tech should read this book. Or if you're just interested in tech. Or if you just want a basic appreciation of one of the most important technologies in human history—the computer.

This book contains the best, most accessible explanation I've seen of how computers work, from hardware to software. The author manages to cover a huge range of topics—electricity, circuits, relays, binary, logic, gates, microprocessors, code, and much more—while doing a remarkable job of gradual
...more
Alex Palcuie
Apr 06, 2013 rated it it was amazing
Shelves: favorites
If you work with computers and didn't read this book, you are lame. ...more
Igor Ljubuncic
Jun 28, 2018 rated it it was amazing
Shelves: software
This is a great book. Surprisingly interesting.

While the subject matter is not a new thing to me - far from it - the way the author goes about telling the story of how modern computers came to life is exciting, engaging and fun. He starts with morse and braille, talks about the principles of mathematics and information, explains the critical concept of switches, and finally moves into the world of circuit boards and binary data, cultimating in ALU. After that, he discusses the idea of analytical
...more
Mark Seemann
Jun 28, 2018 rated it it was amazing  ·  review of another edition
Shelves: software
I'll start with my review of the second edition, and keep my original review of the first edition below.

My editor at Pearson contacted me in late 2021 asking me if I'd like to do a technical review of Code, 2nd edition. I loved the first edition (see original review, below), so I didn't hesitate much, even though doing a technical review of a manuscript is much more work than 'just' reading a book.

While 'rereading' the manuscript, I was constantly struck by how well-organised it is. The examples
...more
Bozhidar
Aug 05, 2022 rated it really liked it
Shelves: tech, non-fiction
I first came across this book around 2005, while studying C# at the university. Back then I was reading a recommended book on C# programming by Charles Petzold, which I liked, and I looked into other books written by him. "Code" immediately caught my attention but for various reasons I didn't buy the book for 10 more years and I didn't read it until this month.

Well, the long wait was certainly worth it as this was one of the best introductions to computing I've ever read! The author guides us t
...more
Alex Telfar
Mar 23, 2018 rated it it was amazing
Shelves: not-at-library
Very close to my ideal book. Starts from understandable foundations and builds from there. Charles doesnt try to explain through high level metaphors (that do a poor job of capturing the truth -- I am frustrated after picking up another apparently interesting physics book only to find it contains no math), rather, he slowly builds on simple examples. And while it does get pretty complex, Charles doesnt avoid it. !!!

For a while I have been frustrated about my understanding of computers. I underst
...more
Lynn
Feb 28, 2012 rated it really liked it
I have been an IT professional for 20 years, but I never knew what the switches on the front panel of the Altar computer were for. I do now.

In fact, because of this book, I know many things about how a computer really works that I never did before. I think this book is great for anyone, except Electrical Engineers who would be bored. Having some background in computers probably makes this book easier to get through, but Petzold assumes nothing and starts from scratch. He does a good job of makin
...more
Jan Martinek
Aug 08, 2016 rated it it was amazing

What a ride! A book about computers “without pictures of trains carrying a cargo of zeroes and ones” — the absolute no-nonsense book on the internals of the computer. From circuits with a battery, switch and bulb to logic gates to a thorough description of the Intel 8080. Great way to fill blanks in my computer knowledge.

The book takes the approach of constructing the computer “on the paper and in our minds” — that's great when you're at least a little familiar with the topic, maybe not so when

...more
Miranda Sikorsky
Nov 28, 2019 rated it it was amazing
It is a great book, I demystified some thoughts I had about software architecture.
Carlos Martinez
Mar 06, 2019 rated it it was amazing
Shelves: science
Such a fun and interesting book. Petzold goes back to the very basics to explain how to build a computer (of sorts) from the ground up. First he explains binary (via morse code and Braille), then he introduces relays and switches, then gates and Boolean logic, and before you know it you're building an electronic counting machine. He continues with a potted history of transistors, microchips, RAM, ROM, character encoding and all sorts of other fun stuff.

I skipped over some pages, because I don't
...more
Laura Marelic
May 19, 2020 rated it it was amazing  ·  review of another edition
This book is the perfect depth for novices but also people who are “in tech” and don’t really understand how it all works (like me). I can now look around at all the electronics in my house and feel like I know what’s fundamentally going on. Knowledge is empowering! The last chapter of the book felt a bit rushed and ended abruptly, but maybe that’s just my wanting the book to go on longer/end at present day. Overall, I loved it and will surely be recommending it to anyone who asks how computers ...more
Jule
Mar 05, 2009 rated it it was amazing
I LOVE this book. I regard myself an innocent computer illiterate. And Petzold helps me to walk inside an electrical circuit, a telephone, a telegraph, an adding machine, a computer, and to understand the basics behind the design, of what is going on inside. I start getting the math, the logic behind all this technology that has become pretty much the center of my life today. And I should understand the logic behind the center of my life, right?

What is so good about this book: it is written in
...more
Baq
Apr 04, 2017 rated it it was amazing
Shelves: byte-me
Wow. I wish I had had this book back when I was taking my first Computer Architecture course in college! It carries you along from the very fundamentals of both codes (like braille) and electric circuits in the telegraph days all the way to the web in a way that even a layperson could understand, with plenty of verbal and diagrammatic explanation. It does at points get pretty deep into the weeds but I really appreciated the author's efforts to provide such an exhaustive dive into how computers w ...more
Martin Lumiste
Feb 24, 2021 rated it it was amazing
What an absolute gem I found in some Stack Overflow comments! Deriving modern computers from first principles such as Morse code and electromagnets, it's a rare book that can connect with you regardless of prior technical expertise.

Would mostly recommended for software professionals looking to ground themselves in how it all started. This doesn't mean it's a history book: the insight into hardware and software components is as relevant today as it was in 2000.

Truly enjoyable read throughout.
...more
Rik Eberhardt
Jun 14, 2008 rated it really liked it
In brief: be prepared to skim through at least 25% of this book! If I had this book in a seminar freshman year, I might have completed the Computer Science program. In a very fun manner, this book presents 3 years of introductory CS curricula: discrete structures, algorithms, logic gates, ... After reading this during two cross-country flights, I better understand (and remember) classes I took 10 years ago. Almost makes me want to try again (*almost*).
Mike Wenzel
Sep 24, 2021 rated it liked it
Shelves: gave-up-on
Starts out really good. The ends up a little in the weeds describing how to make a computer.
Imi
This book has really taught me a lot, despite the fact that many of the later chapters lost me somewhat; it felt like it became much more complicated and hard to follow after the earlier chapters, which were great, slowly paced and well explained. While Petzold does assume the reader is starting from scratch, I think it would be easier to follow later on if you had some background in computers/technology. As it was, I had to bombard my dad (an electronic engineer) with questions to even make it ...more
Damon
Aug 01, 2010 rated it really liked it  ·  review of another edition
This book basicaly tries to take you from the very basics of how to encode information, such as how binary is used to represent complex information, to understanding how a computer uses information like this to perform intricate operations. The route between those two points is the interesting part, and there was some parts that I foudn really illuminating and important. For example, I didn't understand hexadecimal numbers (or indeed what base 4, base 8, etc) numbers meant before I read this boo ...more
Rick Sam
Mar 09, 2020 rated it it was amazing  ·  review of another edition
Shelves: computer-science
1. Why read this Work?

Let's see, if you want to know, how Computers work. We are on our phones, laptops, yet we do not know, how it works?


2. What is the key idea in this Work?

Abstraction, starting from Zero, and One -- Can you believe it?


3. What are my thoughts on this?

An excellent book to learn about bottom-up details of Computers.

It starts with two friends trying to communicate with each other, Morse Code, Braille, Flashlights... Gates, ... Assembly Language, Operating System and f
...more
Bay Gross
May 09, 2022 rated it really liked it
Shelves: reviews
4 stars.

A great read if society collapses and you need to accelerate the rebuild of modern computing from scratch! Sort of like Connecticut Yannkee in King Arthur’s Court, but for IBM.

Petzold goes all the way back to morse code and telegraph relays in order to methodically build up a step-by-step mental model of modern day computing.

For techies: this is a fun and fast read that will “fill in a lot of gaps” and give you a clean narrative from atoms to the world of bits. It goes a few abstractio
...more
Tomas
Jan 09, 2022 rated it it was amazing
Basically a better version of my computer architecture class from undergrad… extremely thorough, easy to understand, a great resource for everyone interested, imo. Not exactly a breeze to read through any technical book, but this was still pretty good. Learned half way through that it came out in 2000ish so it was also a cool artifact to see what the author mentioned about modern computing and predicted for the future. Additionally learned that the author wrote the OG programming windows book an ...more
Grace Tueller
Mar 20, 2022 rated it liked it
Took me literal months and there were entire chapters that were nearly incomprehensible to me...but I finished!!!
AJ
Apr 28, 2020 rated it liked it
Shelves: stem, 2020, non-fiction
I am always interested in learning new ways to teach my students the fundamentals of digital logic, not to mention I also teach a follow-up class on microcontrollers, and sometimes teaching students how they go from the digital logic they learned last semester to something that computes can be challenging. So I'll always happily grab a book aimed for laypeople to see if I can grab a few nuggets from it.

There were things I liked about this book, and things I didn't like about this book. I enjoyed
...more
Sabina
Oct 04, 2022 rated it liked it
Excellent book if you’re looking for a crash course in computer science.
Written in a light and pleasant way with many real world examples.
Gamar Mustafa
Jul 01, 2022 rated it really liked it
the book taught me a lot of things. although i skipped almost 30% of it - because either the topic that the chapter was about wasn't interesting for me or it was explained "meticulously", it was a great experience. as he said in the 17th chapter: "no one will blame you if you skim over the excruciating details".

the author explains almost everything related to computers - from simple logic gates to operating systems.

if you are interested in tech and want to expand your knowledge about how comput
...more
Alisa Mansurova
Nov 25, 2019 rated it it was amazing
Just finished reading my b-day gift, the 'Code' by Charles Petzold - probably the best engineering book I've ever read. By saying 'engineering', I mean it. Unlike other computer science books, the 'Code' teaches how computers work in a nutshell. It leads you from the very basics like morse & braille codes to boolean algebra and various numeric systems, from simple tiny electric circuits which bulb the lamp to primitive adding machine (built from relays, hehe), up to history of development and en ...more
« previous 1 3 4 5 6 7 8 9 … next »
topics  posts  views  last activity   
convertidor de ost a pst 1 3 Aug 07, 2021 12:49AM  

Readers also enjoyed

  • Structure and Interpretation of Computer Programs
  • The C Programming Language
  • The Pragmatic Programmer: From Journeyman to Master
  • Grokking Algorithms An Illustrated Guide For Programmers and Other Curious People
  • Computer Science Distilled: Learn the Art of Solving Computational Problems
  • Clean Code: A Handbook of Agile Software Craftsmanship
  • Algorithms to Live By: The Computer Science of Human Decisions
  • Code Complete
  • Designing Data-Intensive Applications
  • Algorithms
  • The Soul of a New Machine
  • Effective Java
  • UNIX: A History and a Memoir
  • But How Do It Know? - The Basic Principles of Computers for Everyone
  • The Mythical Man-Month: Essays on Software Engineering
  • Hackers & Painters: Big Ideas from the Computer Age
  • Coders at Work: Reflections on the Craft of Programming
  • The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
152 followers
Charles Petzold has been writing about programming for Windows-based operating systems for 24 years. A Microsoft MVP for Client Application Development and a Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, currently in its sixth edition and one of the best-known programming books of all time; the widely acclaimed Code: The Hidden Language of Computer Hardware an ...more

Related Articles

Podcast junkies will know this already, but the audio format is a surprisingly great way to discover more about nearly any topic that catches...
47 likes · 6 comments
“Code is not like other how-computers-work books. It doesn't have big color illustrations of disk drives with arrows showing how the data sweeps into the computer. Code has no drawings of trains carrying a cargo of zeros and ones. Metaphors and similes are wonderful literary devices but they do nothing but obscure the beauty of technology.” — 14 likes
“In 1948, while working for Bell Telephone Laboratories, he published a paper in the Bell System Technical Journal entitled "A Mathematical Theory of Communication" that not only introduced the word bit in print but established a field of study today known as information theory. Information theory is concerned with transmitting digital information in the presence of noise (which usually prevents all the information from getting through) and how to compensate for that. In 1949, he wrote the first article about programming a computer to play chess, and in 1952 he designed a mechanical mouse controlled by relays that could learn its way around a maze. Shannon was also well known at Bell Labs for riding a unicycle and juggling simultaneously.” — 3 likes
More quotes…