Important notice about the future of Stripcreator (Updated: May 2nd, 2023)

  Rohit  

followers
1
following
0
pm : info
Rohit has not entered a profile.
(hide profiles)

by Rohit
12-14-11
Any idea Jojo , how we are going to satisfy OCP.
I think our Switch class should call a common interface like serverInterface and not directly access Light class.
Ok !
Switch will access Light or Fan through ServerInterface,not directly. With this design we can use switch to control other devices also.
share: twitter : facebook

« Back to the Front Page