Improvement of template method pattern

2011 
The original algorithm steps of template method,which do not need to be extended,will be copied to a sub-class when a new algorithm step of template method is added to the sub-class.Aiming at the problem,a template method creating process was presented,which used the strategy pattern to reduce the unnecessary copies.Finally how to design an attendance algorithm with the improved pattern was discussed.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []