[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-debug-dev] Idle thoughts on NPE and debugging outside a CDT project
|
>-----Original Message-----
>From: cdt-debug-dev-admin@xxxxxxxxxxx
>[mailto:cdt-debug-dev-admin@xxxxxxxxxxx] On Behalf Of Øyvind Harboe
>Sent: December 9, 2004 5:11 AM
>To: cdt-debug-dev@xxxxxxxxxxx
>Subject: [cdt-debug-dev] Idle thoughts on NPE and debugging
>outside a CDT project
>
>I'm not advocating any solution to the "NPE problem", but if
>someone has promising approaches to address this problem I for
>one would be very interested.
>
>I do claim that there is such a thing as an "NPE problem".
>
>The "NPE problem" is not specific to Eclipse, but that 5% of
>all PR's touches on this, surprised me.
The "NPE problem" is the problem of lazy programmers and
programmers who do not look into the full specifications
of the APIs they are using. This sweeping statement is
not targetted at any particular developers or language but
is true in general.
Most programmers I know are "optimistic programmers" who
develop assuming the best conditions where everything works.
This is a software development industry problem where side
effects and error conditions are _generally_ considered only
after the software is written.
OK, I'm stepping down off the soapbox now ... off to write
some error condition check free code =;-)
Thomas