[jdom-interest] NoSuch*Exceptions in JDOM
Jim Rudnicki
jdr5list at pacbell.net
Sat Jun 17 21:43:40 PDT 2000
Lurking here I notice everyone dividing into two camps. Let me offer a third
direction.
Any function using the return value to return error codes I accept as bad
design. I thought we all learned this long ago. A section from "Writing
Solid Code" burned in my memory (but looked up, p91):
"Don't use confusing dual purpose return values--each output should
represent exactly one data type. Make it hard to ignore important details
by making them explicit in the design."
More information about the jdom-interest
mailing list