Loading ...
Sorry, an error occurred while loading the content.

Re: [junit] Are you really using JUnit during your development?

Expand Messages
  • Jean
    I found some interesting reasons here! http://www.nabble.com/Is-Junit-based-testing-REALLY-possible-for-commercial-software-development---tf1095747.html --
    Message 1 of 287 , Aug 2, 2006
    View Source
    • 0 Attachment
    • Stephen Smith
      I might be coming late to this particular thread, but whatever happened to the rule of use unchecked exceptions for developer error, use checked exceptions
      Message 287 of 287 , Sep 24, 2006
      View Source
      • 0 Attachment
        I might be coming late to this particular thread, but whatever happened
        to the rule of "use unchecked exceptions for developer error, use
        checked exceptions for exceptional conditions"?
        --
        Stephen Smith, MEng (Wales).
        http://www.stephen-smith.co.uk/

        J. B. Rainsberger wrote:
        > Elliotte Harold wrote:
        >> Checked exceptions get
        >> programmers to write a lot more error handling code than documentation
        >> ever did. (Not quite as much as they should, of course, but a lot more
        >> than they used to.)
        >
        > ...a lot more, by percentage? I doubt it. For every person that handles
        > checked exceptions, there are, I'm guessing, several (dozens?) that
        > either simply wrap them in unchecked ones (fine with me) or do catch {}
        > (oy). This pattern repeats, over and over.
        >
        > The programmers that /do/ write error handling code are the ones that
        > would have done it before, if it had required less of an investment.
        > Those are the same programmers who will write equals() and hashCode()
        > correctly if they know that EqualsTester exists and how to use it. They
        > don't need code enforcement; they can get by with useful tools.
        >
        > Take care.
      Your message has been successfully submitted and would be delivered to recipients shortly.