Discussing the article: "From Basic to Intermediate: Classes (I)"

 

Check out the new article: From Basic to Intermediate: Classes (I).

In this article, we explain what a class is and why this concept came about. Although the topic is interesting, we will focus here on the principles underlying MQL5 programming. This article is just an introduction.

As the title suggests, in this section we will explore classes—one of the fundamental concepts of object-oriented programming. In this initial overview, we will consider only what is necessary for understanding the following articles. For now, we will not go into detail on all aspects of classes, since some of them have already been covered in the articles on structured programming. Please refer to previous articles for more detailed information.

Nevertheless, we need to thoroughly explain some of the features and capabilities of classes. This is the only way you will be able to understand why the code we will analyze next works and how to use it. The goal is for you to be able to follow along with as little explanation as possible on my part, since over time I will be commenting less and less on specific details.

Let's start with the basics: to understand classes, we first need to understand another concept explained in previous articles—the concept of a structure.


Author: CODE X