All posts tagged “builder

comment 0

#49 The Builder Pattern

In issue #41 in which we have built an app that uses a photo camera to capture one’s loayalty cards we used a pattern that we named Builder to configure properties of objects. How does the code look like when we use Builder pattern? We simply initialize an object we want to configure and call the with(:) function on the…