Search:

Type: Posts; User: laserlight

Search: Search took 0.16 seconds.

  1. Replies
    55
    Views
    5,231

    Instead of assuming, check, e.g., while reading....

    Instead of assuming, check, e.g., while reading.


    The right alternative to having printf statements for debugging is to use a debugger. Assertions should be used to document pre-conditions,...
  2. Replies
    55
    Views
    5,231

    That's why you should take a seat :) The...

    That's why you should take a seat :)

    The problem here is that the input is not what is expected. An assertion is thus a wrong -- or at least insufficient -- approach, since it does not document a...
  3. Replies
    55
    Views
    5,231

    You could, but you shouldn't, because:

    You could, but you shouldn't, because:
Results 1 to 3 of 3