Regarding design pattern lectures the code for each pattern can be added to the lecture side , it will be useful .