Thread: LTCHW alternative

  1. #1
    Registered User
    Join Date
    Sep 2015
    Posts
    2

    LTCHW alternative

    I'm digging through Learn c the hard way by Zed Shaw and I'm starting to dislike this book.
    I have practical experience with C mostly in embedded system). I wanted to learn something about defensive programming, unit testing, linux environment and stuff...

    Is there anything like this book?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Defensive programming and unit testing are neutral concepts, not something specific to C.

    You're much more likely to find good general approaches to these topics, rather than ones aimed at specific languages.
    Unit testing for example is a lot easier in some languages than others (as is defensive programming for that matter).

    No I don't have specific recommendations.

    Feel free to add the work "book" to these if you want a dead tree version to hold.
    how to do unit testing in c - Google Search
    how to do defensive programming in c - Google Search
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Quote Originally Posted by Longin View Post
    I'm starting to dislike this book.
    ...
    Is there anything like this book?
    If you dislike the book, why do you want something like it?

  4. #4
    Registered User
    Join Date
    Sep 2015
    Posts
    2
    Because it has topics what I was looking for.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What is the alternative to malloc?
    By huwan in forum C Programming
    Replies: 11
    Last Post: 03-24-2011, 07:08 AM
  2. Alternative to sleep()
    By Abda92 in forum C Programming
    Replies: 4
    Last Post: 12-28-2007, 05:03 PM
  3. Any alternative?
    By sCandal2 in forum Windows Programming
    Replies: 4
    Last Post: 01-11-2006, 04:30 PM
  4. gets() alternative
    By Mastadex in forum C Programming
    Replies: 5
    Last Post: 12-12-2004, 12:28 AM
  5. alternative to cin
    By Unregistered in forum C++ Programming
    Replies: 18
    Last Post: 06-25-2002, 05:14 PM

Tags for this Thread