DeepRead
Cover of Obfuscated C and other mysteries

Obfuscated C and other mysteries

Don Libes · 1993

Programming and computer science › Algorithms and coding interviews

#6,041 most recommended

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

02420112015202020242011 peak · 2
This bookAverage book in Algorithms and coding interviews

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 6 want to read
  • 1 reading
  • 0 have read

Open Library’s page for the book

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)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • The C companion
    Allen I. Holub · 1987 · recommended by 3 people · similar by subject and what people say about it
  • Compiler design in C
    Allen I. Holub · 1990 · recommended by 11 people · similar by subject and what people say about it
  • C Traps and Pitfalls
    Andrew Koenig · 1989 · recommended by 19 people · similar by subject and what people say about it
  • Java puzzlers
    Joshua Bloch · 2005 · recommended by 12 people · similar by subject and what people say about it
  • Understanding UNIX/LINUX Programming
    Bruce 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 book
    Alan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
  • Hacker's Delight
    Henry S. Warren Jr. · 2002 · recommended by 105 people · similar by subject and what people say about it
  • C interfaces and implementations
    David R. Hanson · 1996 · recommended by 46 people · similar by subject and what people say about it
  • The Standard C Library
    P. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
  • The art of computer programming
    Donald Knuth · 1968 · recommended by 336 people · similar by subject and what people say about it
  • Mazes for programmers
    Jamis Buck · 2015 · recommended by 19 people · similar by subject and what people say about it
  • Art of Programming - Volume 3 - Answers to Exercises
    Donald Knuth · recommended by 6 people · similar by subject and what people say about it
  • On LISP
    Paul Graham · 1993 · recommended by 192 people · similar by subject and what people say about it
  • The Hacker Crackdown
    Bruce Sterling · 1992 · recommended by 35 people · loosely similar by subject
  • Out of the inner circle
    Bill Landreth · 1985 · recommended by 3 people · similar by subject and what people say about it
  • The little LISPer
    Daniel P. Friedman · 1974 · recommended by 28 people · similar by subject and what people say about it
  • Sorting and searching
    Donald Knuth · 1973 · recommended by 10 people · similar by subject and what people say about it
  • Structure and Interpretation of Computer Programs
    Harold Abelson · 1984 · recommended by 347 people · similar by subject and what people say about it
  • The C Programming Language
    Brian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
  • The Little Schemer
    Daniel P. Friedman · 1995 · recommended by 288 people · similar by subject and what people say about it
  • Strange Code
    Ronald T. Kneusel · 2022 · recommended by 2 people · similar by subject and what people say about it
  • Introduction to Algorithms
    Thomas H. Cormen · 1990 · recommended by 274 people · similar by subject and what people say about it
  • The (new) turing omnibus
    A.K. Dewdney · 1993 · recommended by 32 people · similar by subject and what people say about it