Cosmo QiuStay safe, healthy and strongTo Lepton users around the world in more than 130 countries:Apr 23, 2020Apr 23, 2020
Cosmo QiuFacade PatternFacade pattern is used when a system is complex or difficult to understand because of the large number of interdependent classes or the…May 20, 2019May 20, 2019
Cosmo QiuCommand PatternCommand Pattern issues requests to objects without knowing about the operation being requested or the receiver of the request. It wraps a…May 20, 2019May 20, 2019
Cosmo QiuComposite PatternComposite pattern describes that a group of objects (composite) is to be treated in the same way as a single instance of an object…May 20, 2019May 20, 2019
Cosmo QiuIterator PatternThe Iterator Pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its…May 20, 2019May 20, 2019
Cosmo QiuStrategy PatternThere are common situations when classes differ only in their behavior. For this cases is a good idea to isolate the algorithms in…May 20, 2019May 20, 2019
Cosmo QiuSingleton PatternSometimes it’s important to have only one instance for a class. For example, in a system there should be only one window manager (or only…May 20, 2019May 20, 2019
Cosmo QiuTracking A Tricky Bug in 3 MonthsAfter three months’ effort and collaboration of developers from different countries, we finally get this tricky bug fixed in Lepton. Here…Oct 9, 2017Oct 9, 2017
Cosmo QiuA Bite of { REST }I have seen people confused by terminologies like REST, RESTful API and HTTP in different tech discussions. Therefore I hope this short…Sep 27, 2017Sep 27, 2017
Cosmo QiuState PatternA monolithic object’s behavior is a function of its states whose runtime behaviors must be changed accordingly. State Pattern is a…Nov 10, 2015Nov 10, 2015