Learn in 1 Hour: Design Patterns | The JetBrains for Education Blog - Deepstash

Bite-sized knowledge

to upgrade

your career

Ideas from books, articles & podcasts.

created 5 ideas

JETBRAINS

Learn in 1 Hour: Design Patterns | The JetBrains for Education Blog

Learn in 1 Hour: Design Patterns | The JetBrains for Education Blog

blog.jetbrains.com

STASHED IN:

162 reads

🕐 Factory method is a pattern that creates an interface or abstract class that also allows for modification of object creation in subclasses. It is best used when the developer doesn’t know beforehand the exact types and dependencies of the o...

🕐 Singleton is a pattern that creates only one instance of an object while providing a point of global access to this instance. This pattern should be implemented when a class in the program has only a single instance available to all clients...

🕐 Prototype is a pattern based on the concept of copying an existing object for creating a new one. It is used to reduce the number of subclasses that differ only in the way they initialize their objects.

🕐 Builder is a pattern that lets developers design complex objects by using simple objects via a step-by-step approach. This allows creating different modified variations of the same object.

🕐 Abstract factory is a pattern that produces sets of related objects. In its simplest form, it could be a set of factories that allows developers to produce parts of object sets.

4 Reactions

Comment

MORE LIKE THIS

created 9 ideas

Flutter is used to develop cross-platform applications for Android, iOS, Linux, macOS, Windows, Google Fuchsia, and the web from a single codebase.

2

Comment

226 reads

It's time to

READ

LIKE

A PRO!

Jump-start your

reading habits

, gather your

knowledge

,

remember what you read

and stay ahead of the crowd!

Takes just 5 minutes a day.


TRY THE DEEPSTASH APP

+2M Installs

4.7 App Score