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 Software tools in Pascal

    Software tools in Pascal

    Brian W. Kernighan, P. J. Plauger · 1976

    Programming
    Open LibraryAmazon
    Stats for nerds
    9recommend
    36mentions
    25people
    2010–2026years
    31% recommend67% neutral3% critical

    Mentions per year

    201020122014201620182020202220242026

    What Hacker News says

    1. fuzztesterJul 2024
      I suggest you add Software Tools in Pascal to your list of books to podcast about. Also by Kernighan.

      I own a copy of that book and think it is good.

      thread
    2. pjmorrisJul 2024
      Finding 'Software Tools in Pascal' in my local mall bookstore, before I even had access to a computer running Pascal, turned out to be a kind of cheat code for my career. I marveled at the ideas and the writing and it set me up to acquire much of the the rest of the Kernighan canon.
      thread
    3. bewuethrJun 2022
      Two older ones:

      The Elements of Programming Style

      Software Tools / Software Tools in Pascal

      I have read Elements and Software Tools in Pascal, and while partially definitely outdated ("avoid FORTRAN's three-way if"), excellent writing. Especially Software Tools in Pascal, which in large parts describes and explains source code; I was very impressed by the way the descriptions added lots of insights on top of just the code. Kernighan also manages to smuggle subtle bits of humour into texts about otherwise dry topics.

      thread
    4. whartungJan 2022
      If you're interested in visual editors and if you're looking for something perhaps more accessible (and I can't honestly say how much it really is, I have not looked at it) then consider taking a look at 'less', the pager.

      Less does almost everything an "editor" does, at least visually, except change text. It pages through text, forward and backward, line by line, it handles lines that are too long, tab expansion, it searches, even has an extended command set. (Can less do syntax coloring?)

      It also handles files too big for memory. These are all editor problems. Mind its solutions may not be optimized for an editor, but it's certainly smaller.

      Today, modern machines "suffer" from "too much" performance which actually frees you from not having to worry so much about the actual backing store, especially early on. Do you really intend to be editing a 2GB file? Honestly, how big is an average text file? And how many billion cycles per second does a modern CPU handle? Sucking the entire file in to RAM, and just pushing stuff around with block moves will take you very far on a modern machine. Not that you should not look at the other data structures (there are many), but you don't have to start there, depending on where your interest lies.

      Also consider hunting down the book "Software Tools". There's two editions, the original and "Software Tools in Pascal". It's by Kernighan and Plauger. They go through in detail and write a version of the 'ed' line editor.

      And if you really want to work on an editor, the CP/M world would love a new one. There, it's all about efficiency.

      thread
    5. blondinDec 2021
      i recommend software tools in pascal to any system programmer.

      i was already a big fan of Brian Kernighan and Bell Labs. but what made me curious about the book was the essay against pascal that came after the book. the criticism felt (to me at least) justified by all the necessary workaround used in the book to get things to work.

      i was a big fan of Niklaus Wirth and ETH too. and i understood the ideas and goals of pascal. if Bell Labs had waited a tad bit they would have been happier with Modula or Oberon. but we wouldn't have got unix nor c :)

      i also got my hands on the original as well: software tools in ratfor. ratfor was that language that did not exist (iirc) based on fortran. the software tools were the same. and it was impressive to see the same tools in two different languages.

      the other thing you get from these books is a sense of what they were working on and coding at Bell Labs. what would later become part of the unix system, the c language and its libraries.

      again highly recommended.

      thread
    6. bear8642Nov 2020
      Found Kernighan and Plauger's Elements of Programming Style useful - interesting to see how many of their comments on Fortran and PL/I code still remain very valid problems.

      Their further book Software Tools in Pascal I found inspiring (along with SICP) as they show how you can build very powerful and useful tools from small modules slotted together - SICP showed me this in the extreme with chapter 2 ending with an implementation of a full numeric tower

      thread

    Related

    Cover of The elements of programming style
    2008–2026

    The elements of programming style

    Brian W. Kernighan
    30 recommend · 96
    Cover of Software tools
    2008–2026

    Software tools

    Brian W. Kernighan
    21 recommend · 44
    Cover of More programming pearls
    2008–2025

    More programming pearls

    Jon Louis Bentley
    12 recommend · 27
    Cover of The Practice of Programming
    2007–2026

    The Practice of Programming

    Brian W. Kernighan
    90 recommend · 184
    Object Pascal HandbookMarco Cantu
    2015–2025

    Object Pascal Handbook

    Marco Cantu
    3 recommend · 5
    Cover of The UNIX programming environment
    2007–2026

    The UNIX programming environment

    Brian W. Kernighan
    86 recommend · 215
    Cover of A discipline of programming
    2009–2025

    A discipline of programming

    Edsger Wybe Dijkstra
    16 recommend · 51
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604