Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of More programming pearls

    More programming pearls

    Jon Louis Bentley · 1988

    A second volume collecting Bentley's Communications of the ACM columns.

    Programming
    Open LibraryAmazon
    Stats for nerds
    12recommend
    27mentions
    15people
    2008–2025years
    74% recommend26% neutral

    Mentions per year

    2008201020122014201620182020202220242025

    What Hacker News says

    1. knlbNov 2025
      I used to be scared of Awk, and then I read through the appendix / chapters of "More Programming Pearls" (https://www.amazon.com/More-Programming-Pearls-Confessions-C...) and it became a much easier to reason about language.

      The structure can be a bit confusing if you've only seen one liners because it has a lot of defaults that kick in when not specified.

      The pleasant surprise from learning to use awk was that bpftrace suddenly became much more understandable and easier to write as well, because it's partially inspired by awk.

      thread
    2. fuzztesterJul 2024
      Another author and his books in the same category of excellence as Kernighan and his books, is Jon Bentley and his books Programming Pearls and More Programming Pearls.

      https://en.m.wikipedia.org/wiki/Jon_Bentley_(computer_scient...

      thread
    3. AstroJetsonJul 2024
      I loved his articles in the ACM. They are collected in a book called Programming Pearls (https://www.amazon.com/Programming-Pearls-2nd-Jon-Bentley/dp...) I also liked his second book More:Programming Pearls (https://www.amazon.com/More-Programming-Pearls-Confessions-C...)

      Some of the same articles, but with updates and added reader comments.

      (I posted Amazon, but there is a ton on the used market)

      thread
    4. vram22Jul 2023
      There is also a sequel, More Programming Pearls.

      I have both, and they are good.

      In one of them, Bentley shows some advanced uses of awk, involving its associative arrays, in a short awk program to do some sort of processing, and says that an equivalent C program would be a few hundred lines, IIRC.

      thread
    5. vram22May 2023
      Not all of the ones below may be textbooks, sorry, but IMO they are all very good. I cut my programming teeth on some of them, and read others at different times later in my career.

      How to Solve It, by Georg Polya. A famous Hungarian mathematician. A text on general problem solving principles or techniques. A classic.

      How to Solve It by Computer, by Dromey, an AU CS professor. In the same spirit as the Polya book, but applied to iteratively working out algorithms and pseudocode for common important programming problems.

      The K&R C book. What to say.

      The Unix Programming Environment, by Kernighan and Pike. Ditto.

      Programming Pearls, and More Programming Pearls, by Jon Bentley. Among many other things, some clever / advanced uses of awk.

      Writing Efficient Programs, also by Bentley. I had mentioned it on HN earlier, and someone replied saying they had used it in real life, and it was gold.

      SQL for Professionals, by authors whose names I forget.

      The Object Primer, by can't remember who, but good.

      A Unix book by Kochan, IIRC.

      Object-Oriented Software Construction, by Bertrand Meyer, creator of the Eiffel programming language.

      A book on object-oriented analysis / design, can't remember the name, by Rebecca Wirfs-Brock (?) and others. Learned about CRC cards from it. Very cool concept and technique.

      A book on Object-Oriented Design, by Grady Booch, from a time before he co-invented UML. Forget the exact name.

      thread
    6. vram22Nov 2022
      Yes, those two books are Programming Pearls and More Programming Pearls. I have both, and they are good. In one of them there is a section or chapter with a few examples of advanced uses of awk, involving awk's associative arrays, to do some non-trivial work in very few lines of code[1]. He shows or says that the equivalent programs in C would be much longer and harder to write.

      [1] Even more so than in most other common examples where awk programs are shorter than those in other languages.

      thread

    Related

    Cover of Writing efficient programs
    2010–2024

    Writing efficient programs

    Jon Louis Bentley
    9 recommend · 24
    Cover of Programming Pearls
    2007–2026

    Programming Pearls

    Jon Bentley
    158 recommend · 315
    Cover of Software tools in Pascal
    2010–2026

    Software tools in Pascal

    Brian W. Kernighan
    9 recommend · 36
    Cover of The Practice of Programming
    2007–2026

    The Practice of Programming

    Brian W. Kernighan
    90 recommend · 184
    Cover of Programmers at work
    2008–2025

    Programmers at work

    Susan M. Lammers
    19 recommend · 51
    Cover of Software tools
    2008–2026

    Software tools

    Brian W. Kernighan
    21 recommend · 44
    Cover of The UNIX programming environment
    2007–2026

    The UNIX programming environment

    Brian W. Kernighan
    86 recommend · 215
    Cover of Thinking Forth
    2008–2026

    Thinking Forth

    Leo Brodie
    77 recommend · 159