Another alternative to what Andreas suggested is to reify in
meaningful messages the constants, see senders of
YAZODRFFILibrary>>odrCreate: in the Z3950 project at SqueakSource.
Cheers,
Hernán
2009/9/30 Mariano Martinez Peck :
> Hi folks: I am calling to the OpenDBX library and this library uses
Hi Mariano, what about the rule in Kent Beck Smalltalk best practices
book, put magic numbers into a method.
OpenDBUnix>>odbxErrBackend.
^ 1
OpenDBUnix apiError: handle number: OpenDBUnix odbxErrBackend.
Or i you prefer also can code a mapping method like this one
( although the f