in reply to Re: Avoid run-time checking
in thread Avoid run-time checking
OO approach looks over-kill to me. since unpacking template is only a small part of parsing a record.
Refactoring this into two different classes would be creating more duplication of code. since the rest of logic is the same.(handling missing field, and what not..;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Avoid run-time checking
by Anonymous Monk on Sep 12, 2015 at 09:08 UTC |