Promotion
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Design Patterns in Java
Design Patterns in Java
107 members
Leaderboard
Popular
New
Old
Pavlo Plynko
Design Patterns in Java
25 March 2019 14:09
Adapter design pattern
Hi! Today we will touch on an important new topic: design patterns. What are these patterns? I think you must know the expression "don't reinvent the wheel". In programming, as in many other areas, there are a large number of common situations. As software development has evolved...
John Selawsky
Design Patterns in Java
15 September 2022 10:59
Strategy Design Pattern
Hi! In previous lessons, we've already briefly become acquainted with the concept of inheritance. In case you forgot, I'll remind you that this term refers to a standard solution to a common programming task. At CodeGym, we often say that you can google the answer to almost any question...
Andrey Gorkovenko
Design Patterns in Java
5 May 2020 10:39
Factory design pattern
Hi, friend! Today we will continue to study design patterns. In this lesson, we're going to talk about factories. We will discuss the problem that this pattern solves and look at an example of how a factory can help you open a coffee shop. Additionally, I will give you 5 simple steps to create a factory...
Edward Izraitel
Design Patterns in Java
11 June 2019 6:31
Design patterns in Java [Part 2]
Hello everyone. In my previous article, I briefly described each pattern. In this article, I will try to show, in detail, how to use the patterns. Singleton. Description: Restricts the creation of a class to a single instance, and provides access to that single instance. The class's constructor is private...
Andrey Gorkovenko
Design Patterns in Java
5 May 2020 11:02
Design patterns: Factory method
Hi! Today we will continue to study design patterns and we'll discuss the factory method pattern. You will find out what it is and what tasks this pattern is suitable for. We will consider this design pattern in practice and study its structure. To ensure everything is clear, you need to understand the following topics...
Jesse Haniel
Design Patterns in Java
15 August 2022 7:14
Patterns and Singleton in Java
This article is aimed at anyone who, for the first time, is encountering the concept of design patterns, has heard the term singleton, or somehow implemented the singleton pattern but didn't understand what was happening. Welcome!
Konstantin
Design Patterns in Java
5 August 2020 9:23
What are anti-patterns? Let's look at some examples (Part 1)
Good day to all! The other day I had a job interview, and I was asked some questions about anti-patterns: what they are, what types there are, and what practical examples there are. Of course, I answered the question, but very superficially, since I had not previously dived deep into this topic...
Artem Divertitto
Design Patterns in Java
15 August 2022 11:47
Java Singleton Class
Hi! Today we'll dive into the details of various design patterns, starting with the singleton pattern. Let's review: what do we know about design patterns in general? Design patterns are best practices that we can apply to solve a number of known problems...
Edward Izraitel
Design Patterns in Java
10 June 2019 12:27
Design patterns in Java [Part 1]
This is a short article on design patterns in Java. There won't be any pattern implementations, just a list of patterns in Java along with a brief description of each. For those already familiar with the subject, this will be helpful as a review and summary. Conversely, those who are learning about patterns...
Artem Divertitto
Design Patterns in Java
5 May 2020 10:23
Proxy design pattern
In programming, it is important to plan your application's architecture correctly. Design patterns are an indispensable way to accomplish this. Today let's talk about proxies. This pattern helps solve problems associated with controlled access to an object. You may ask, "Why do we need controlled access?"...
Konstantin
Design Patterns in Java
5 August 2020 11:12
What are anti-patterns? Let's look at some examples (Part 2)
So, design patterns are best practices. In other words, they are examples of good, time-tested ways of solving specific problems. In turn, anti-patterns are their exact opposite, in the sense that they are patterns of pitfalls or mistakes when solving various problems (evil patterns). Let's proceed to the next...
Artem Divertitto
Design Patterns in Java
14 May 2020 12:23
Bridge Design Pattern
Hi! We now continue to delve into an extensive and super important useful topic: design patterns.Today let's talk about the bridge pattern. Like other patterns, the bridge pattern serves to solve typical problems that a developer encounters when designing software architecture. Today let's study the features of this pattern...
Show more
1
2
Please enable JavaScript to continue using this application.