
Obfuscated C and other mysteries
Don Libes · 1993
Programming and computer science › Algorithms and coding interviews
#6,041 most recommended
Hacker News
7
mentions by 6 people · top 38% of 15,732 books
Open Library
—
No ratings yet
6 want to read
Wikipedia
—
No article yet
About the book
A collection of obfuscated C programs, each one puzzling until it is worked out, along with explanations of how each works. It covers the odd corners of the C language, such as operator precedence, expression evaluation, preprocessor tricks, and implementation-dependent behaviour, and it uses the puzzles to show how the language actually behaves. Its main claim is that deliberately obscure C is a useful way to learn the language, because the tricks expose the rules that ordinary code hides, including where C leaves behaviour undefined or up to the implementation. Working through why a bizarre program produces its output teaches the reader to read C more carefully and avoid portability pitfalls. The book also suggests that the playful side of programming, solving a puzzle for its own sake, is a legitimate way to build real understanding.
Written by Claude from what it knows of this book.
What Hacker News says 67% recommend · 0% critical
In the commenters’ own words
I didn't reach my goal for books read this year, but I still read a lot and found several good ones. The ones I would recommend to others: How to Read a Book…
Neither are recent, but the following are both good: "Obfuscated C and Other Mysteries" by Don Libes "C Companion" by Allen Holub Don Libes' book actually…
What Open Library readers say
No Open Library reader has rated it yet.
- 6 want to read
- 1 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 1993
- ISBN
- 9780471578055
- Editions known
- 2 at Open Library
- Open Library
- OL2872145W
C (Computer program language)C (computer program language)
Read next: its neighbours on the mosaic
The C companionAllen I. Holub · 1987 · recommended by 3 people · similar by subject and what people say about it
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · similar by subject and what people say about it
C Traps and PitfallsAndrew Koenig · 1989 · recommended by 19 people · similar by subject and what people say about it
Java puzzlersJoshua Bloch · 2005 · recommended by 12 people · similar by subject and what people say about it
Understanding UNIX/LINUX ProgrammingBruce Molay · 2002 · recommended by 5 people · loosely similar by subject
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
The C puzzle bookAlan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
Hacker's DelightHenry S. Warren Jr. · 2002 · recommended by 105 people · similar by subject and what people say about it
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · similar by subject and what people say about it
The Standard C LibraryP. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · similar by subject and what people say about it
Mazes for programmersJamis Buck · 2015 · recommended by 19 people · similar by subject and what people say about it
Art of Programming - Volume 3 - Answers to ExercisesDonald Knuth · recommended by 6 people · similar by subject and what people say about it
On LISPPaul Graham · 1993 · recommended by 192 people · similar by subject and what people say about it
The Hacker CrackdownBruce Sterling · 1992 · recommended by 35 people · loosely similar by subject
Out of the inner circleBill Landreth · 1985 · recommended by 3 people · similar by subject and what people say about it
The little LISPerDaniel P. Friedman · 1974 · recommended by 28 people · similar by subject and what people say about it
Sorting and searchingDonald Knuth · 1973 · recommended by 10 people · similar by subject and what people say about it
Structure and Interpretation of Computer ProgramsHarold Abelson · 1984 · recommended by 347 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · similar by subject and what people say about it
Strange CodeRonald T. Kneusel · 2022 · recommended by 2 people · similar by subject and what people say about it
Introduction to AlgorithmsThomas H. Cormen · 1990 · recommended by 274 people · similar by subject and what people say about it
The (new) turing omnibusA.K. Dewdney · 1993 · recommended by 32 people · similar by subject and what people say about it