[Challenge] Design patterns | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

[Challenge] Design patterns

Show your implementation of a design pattern of your choice in the language of your choice. Add comments to explain your code a bit. This is meant as a showcase for users with basic programming skills to show them which design patterns can be used in different scenarios. I'll start with an observer pattern implemented in a scenario where a space fleet (observers) gets updates about the damage of their mothership. https://code.sololearn.com/c8UbMs6vj3a9/?ref=app

12th Feb 2018, 1:12 PM
Alex
Alex - avatar
1 Answer
13th Feb 2018, 4:55 AM
Sudarshan Rai
Sudarshan Rai - avatar