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 Enough rope to shoot yourself in the foot

    Enough rope to shoot yourself in the foot

    Allen I. Holub · 1995

    Programming
    Open LibraryAmazon
    Stats for nerds
    3recommend
    7mentions
    6people
    2012–2022years
    57% recommend29% neutral14% critical

    Mentions per year

    201220142016201820202022

    What Hacker News says

    1. coder4lifeJun 2022
      Enough rope to shoot yourself in the foot - rules for C/C++ programmers - Allen I. Holub https://www.amazon.com/gp/product/0070296898/ref=dbs_a_def_r... - explained C++ to me in a way no others did

      SQL for smarties - You like getting shit out of databases? Me too! https://www.amazon.com/Joe-Celkos-SQL-Smarties-Programming/d...

      Light on Yoga/Light on Pranayama (breath control) BKS Iyengar Because you need to know your body better https://www.amazon.com/Light-Pr%C3%A3n%C3%A3y%C3%A3ma-Yogic-...

      A handbook of Chinese healing herbs - Daniel Reid Why? Chinese herbalism is the root of many western drugs. Many still are untranslated to the pill: https://www.amazon.com/Handbook-Chinese-Healing-Herbs-Easy/d...

      Vitality, Energy, Spirit: A Taoist Sourcebook - Kleary https://www.amazon.com/Vitality-Energy-Spirit-Sourcebook-Sha... - protect yourself, your mind.

      thread
    2. coder4lifeSep 2021
      "Enough rope to shoot yourself in the foot - rules for C and C++ programmers" by Alan C Holub.

      And "Compiler design in C", also by him

      thread
    3. kornishFeb 2017
      There's a great book title that plays off this idea:

      "Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming" [0]

      It's also perhaps the best mixed metaphor I've ever encountered.

      [0]: https://www.amazon.com/Enough-Rope-Shoot-Yourself-Foot/dp/00...

      thread
    4. wrpApr 2016
      For good practices in writing high-reliability C, look at these:

      http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf

      http://www.leshatton.org/MISRA_comp_1105.html

      http://www.leshatton.org/ISOC_subset1103.html

      http://www.embedded.com/electronics-blogs/embedded-systems-d...

      For the related topic of secure code, these books are good:

      Mark Dowd. 2006. The Art of Software Security Assessment.

      Robert Seacord. 2013. Secure Coding in C and C++, 2e.

      For details on what is really going on inside C:

      Paul Anderson. 1998. Advanced C: Tips and Techniques.

      Kenneth Louden. 1997. Compiler Construction: Principles and Practice. Chapter 7.

      For C gotchas and general good practices:

      http://www.cs.tufts.edu/comp/40/reference/CTrapsAndPitfalls....

      Allen Holub. 1995. Enough Rope to Shoot Yourself in the Foot.

      P.J. Plauger. 1991. The Standard C Library. (It is partly a reference, but also has detailed discussion of the technical considerations faced in writing reliable code.)

      thread
    5. yesenadamFeb 2019
      Clean Code (2008) is at the top of my Books I wish I'd read 10 or 20 years earlier list, along with Refactoring (1999). They totally transformed the quality of my finished programs, in many ways. Some what I learnt may fit into "That's so obvious, why didn't I think of that", or making conscious the things you already do... Refactoring, just by naming and defining the activity, was useful. They're both talking about the programming equivalent of editing for writers. And how to do that, how to get from the 'dirty code' first draft to the 50th draft with everything as good as it can get. Do your future self (and other people) a favour - they're the ones who will have to read and understand your programs.

      A couple of years later I came across Allen Holub's Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (1995). I didn't learn anything from it, but it contains almost all of what's in those 2 books, and was written years earlier, (so could have been read earlier), and I think he deserves more credit.

      thread
    6. xstartupFeb 2018
      McConnell, Steve. Code Complete. Redmond, WA: Microsoft Press, 1993.

      McConnell, Steve. Software Project Survival Guide. Redmond, WA: Microsoft Press, 1998.

      Maguire, Steve. Writing Solid Code. Redmond, WA: Microsoft Press, 1993.

      Ranade and Nash. The Elements of C Programming Style. New York: McGraw-Hill, 1992.

      Kernighan and Plauger. The Elements of Programming Style. New York: McGraw-Hill, 1982.

      Caner, Cem, et al. Testing Computer Software, Second Edition. New York: Wiley Computer Publishing, 1999.

      Hunt, Andrew, et al. The Pragmatic Programmer. Reading, MA: Addison-Wesley, 2000.

      Holub, Allen. Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming. New York: McGraw-Hill, 1995.

      thread

    Related

    Cover of Compiler design in C
    2011–2026

    Compiler design in C

    Allen I. Holub
    11 recommend · 28
    Cover of Code
    2008–2026

    Code

    Charles Petzold
    243 recommend · 385
    Cover of The Pragmatic Programmer
    2007–2026

    The Pragmatic Programmer

    Andy Hunt
    353 recommend · 700
    Cover of Cracking The Coding Interview
    2010–2026

    Cracking The Coding Interview

    Gayle Laakmann McDowell
    178 recommend · 553
    Cover of Your Code as a Crime Scene
    2015–2026

    Your Code as a Crime Scene

    Adam Tornhill
    12 recommend · 16
    Software FoundationsBenjamin C. Pierce
    2011–2026

    Software Foundations

    Benjamin C. Pierce
    58 recommend · 77
    Cover of The Practice of Programming
    2007–2026

    The Practice of Programming

    Brian W. Kernighan
    90 recommend · 184
    Cover of The C companion
    2013–2026

    The C companion

    Allen I. Holub
    3 recommend · 7