March 16, 2012
11:33 a.m.
On 16 Mar 2012, at 12:15, Stéphane Ducasse wrote:
Sven the problem is that it just hides the problem. If Zinc is not loaded then this code is broken code.
I know ;-) My last answer was to the question of how to avoid 'hardcoding a reference'. My first answer was: add a method that can generate another method with constant data (since the spec doesn't change often anyway, but it is cool to show in code that you derived the constants from a spec).