Alex Njoroge·Dec 28, 2022Whats Wrong with Offset Pagination?There are two main ways to implement pagination for your list data in an application: 1. Offset pagination 2. Cursor pagination
Alex Njoroge·Jan 5, 2020Prototype Design PatternThis is an obvious one. Just like the name suggests, this creational design pattern allows you to copy (deep copy) existing objects…
Alex Njoroge·Jan 5, 2020Builder Design PatternThe builder design pattern allows you to flexibly construct different representation of a complex objects. It does so by separating the…
Alex Njoroge·Jan 5, 2020Factory Method Design PatternThe factory method design pattern provides a way for sub-classes to alter the type of objects created by an interface.
Alex Njoroge·Jan 4, 2020Abstract Factory Design PatternAs the names suggests abstract factory design pattern is for creating polymorphic objects.
Alex Njoroge·Oct 25, 2018Implementing A* Algorithm for Path PlanningI guess I just can’t keep my mouth shut after learning something new. So I participated on Google Kickstart round G and the last and…