Sitemap
shipkaro — my journey to $10k

I am an indie app developer from Pakistan trying to create a software business in public. I am going to share my wins, failures, lessons all about app business in this newsletter.

Singleton Pattern in Kotlin — Design Patterns for Dummies

Learn about the basic concepts of Design Patterns, their advantages, and types. Also see an example of the Singleton Design pattern in Kotlin for Android

4 min readJul 10, 2022

--

Press enter or click to view image in full size
Originally published at wajahatkarim.com

Written by

and

In this article, you will learn about the basic concepts of Design Patterns, their advantages, and types. You will also see an example of the Singleton Design pattern in Kotlin for Android.

Design Patterns

Design Patterns are used to solve commonly occurring problems in Software Development. Basically, these not only provide the solutions, but they also show you the way to write readable and reusable code. This helps you as a developer to avoid reinventing the wheel and use the battle-tested code methods and approaches for your projects.

Types of Design Patterns

There have been many designs patterns created by developers till now. These are divided in 3 major groups namely Creational, Structural and Behavioral patterns. Now, let’s explore each below.

Creational Patterns

--

--

shipkaro — my journey to $10k
shipkaro — my journey to $10k

Published in shipkaro — my journey to $10k

I am an indie app developer from Pakistan trying to create a software business in public. I am going to share my wins, failures, lessons all about app business in this newsletter.

Wajahat Karim
Wajahat Karim

Written by Wajahat Karim

🚀 Building in public 🔥 GDE Android . 📱 Android Dev . 💻 FOSS Contributor . 📝 Tech Writer . 🎤 TEDx Speaker — 🌐 Subscribe at https://shipkaro.substack.com

Responses (1)