239 followers
I'm a python developer and also a computer science student. I have 5 years of experience with python, also have knowledge in Django, web-scrapping, selenium, Docker, Nginx, Redis, and Django Rest API .
Here is an example of coupling and cohesion in Python: Imagine that we have a program that processes and analyzes data from a CSV file. We could...
The Builder pattern is a creational design pattern that allows you to create complex objects step by step by using a builder object. class Director: ...
The Prototype pattern is a creational design pattern that allows you to create new objects by copying existing objects, rather than creating new...
The Abstract Factory pattern is a creational design pattern that provides an interface for creating families of related or dependent objects without...
The Factory pattern is a creational design pattern that provides an interface for creating objects in a super class, but allows subclasses to alter...
The Singleton pattern is used to ensure that a class has only one instance and provides a global access point to that instance. In this example, the...