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

 

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

In this article we will look at what a union is. Here, through experiments, we will analyze the first constructions in which union can be used. However, what will be shown here is only a core part of a set of concepts and information that will be covered in subsequent articles. The content presented here is intended solely for educational purposes. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

In the previous article From Basic to Intermediate: Array (IV), we explored a very cool and extremely interesting concept. Although many consider it to be an advanced topic, in my humble opinion, it is something every beginner in programming should know. That's because, when used correctly, the very concept introduced in the previous article can quite literally open the whole world of possibilities. With it, we can do things that would otherwise be very difficult or even impossible to achieve.

Moreover, that same concept is also used in another type of context that we will cover at a more appropriate time. Therefore, to avoid anxious thoughts, there is only one piece of advice left: study it and practice constantly. It is important to understand that knowledge thoroughly. Without it, absolutely nothing from this point forward will make sense. Everything that follows will seem like magic.

Well, perhaps saying that nothing will make sense unless you've understood the previous article is a bit of an exaggeration on my part. However, that doesn't change the fact that the previous article is the most important one published up to now. This is important for those who want to become a good programmer, and for those who want and strive to achieve something in a programming language. The concept introduced in the previous article isn't limited to MQL5 - it applies to any programming language, particularly when it comes to making proper use of computational resources.

OK, so before we get started, we need to discuss the prerequisites for this current article. Although some instructors might think I'm exaggerating, in my view, unless you've at least superficially understood what was presented in the previous article, it will be very unlikely that you'll be able to follow what we're going to do here. I'm not saying you won't understand it. But it will definitely be much more difficult to keep up with the explanations.

So, the previous article serves as a kind of watershed moment. On one side, we have all the basic programming material; now, we're jumping to slightly more advanced material. But not "union" in the general sense of the word. We're referring to the term UNION as it appears in certain programming languages. And as usual, we'll start a new topic that will make the implementation and coding process much more enjoyable and fun.


Author: CODE X