Design pattern reflecting context change# Programming - 葵花宝典
l*k
1 楼
high hands:
I have a question on Object Oriented design patterns that reflect context
change. I want to know if there are design patterns available
for reflecting behavioral change in an Object, or in another words, the
object can assume several "states", each with distinct behavior depending
in internal or external input.
Is the calculation of a series of "state" change expensive computationally?
Thanks
I have a question on Object Oriented design patterns that reflect context
change. I want to know if there are design patterns available
for reflecting behavioral change in an Object, or in another words, the
object can assume several "states", each with distinct behavior depending
in internal or external input.
Is the calculation of a series of "state" change expensive computationally?
Thanks