[Journal - Constants, OO-Style]

Constants, OO-Style

Friday, August 20, 2004

If someone complains to you about the use of raw int literals instead of named constants, ask him if this is the proper OO way:

Dim i As Integer = Integer.FourtyTwo

As a bonus, ask about the name this design pattern.