Suggestions for MQL syntax - page 5

 
TheXpert:
Can't you see, modders? The kid won't calm down. We have to calm him down.

What? You got him?

 
Реter Konow:

I wonder why the language was called C++.

++ I remember it was an extension of the basic C language.

and C itself, Wiki says:

C (English C) is a compiled statically typed general-purpose programming language developed in 1969-1973 by Bell Labs employee Dennis Ritchie as an extension of the B language.

 
Igor Makanu:

++ exactly remembers that it was an extension of the basic C language

and C itself, Wiki writes:

++ sign, also an increment). By itself, gives a conditionally infinite increment. An extension of the basic C language, should have been called C+ (logically).

 
TheXpert:
Can't you see, modders? The kid won't calm down. We have to calm him down.
Right, the orderlies to the room! )
 
Dmitry Fedoseev:

Because it is augmented and extended C, and with full preservation of C functionality. It seems that programs written in C must be compiled in C++ compilers. Further extension of course is not excluded, but only with preservation of this principle of continuity.

I see you attended those courses ;)
 
Alexey Navoykov:

In addition to kodobase, there is Freelance and Market, and there MQ must be interested in the quality of the products. And the quality of the language affects the quality and speed of development and debugging in one way or another.

If I understand correctly the concept of modern programming - it is the use of third-party libraries. I.e. it is necessary to know a lot of libraries and if not to know, then at least to imagine the possibility of existence of libraries for your tasks. Code writing begins with googling, to put it crudely.

Since C++ libraries are numerous, the probability of finding the right one (even if highly redundant) comes down to knowing how to use a search engine, as there are rarely situations where you have to reinvent the wheel.

This approach has a high development speed, quality is not so clear-cut.


I.e. the main purpose to turn MQL into C++ is the access to a huge database of libraries, in order to use the modern programming realities through this database, which is constantly updated with new solutions.


This modern approach to programming does not work in MQL. There are very few libraries, so the modern programmer is very uncomfortable in MQL. It is not comfortable to quickly write something for Market/Freelance. The key word is "quickly". And it almost doesn't apply to EAs for yourself. I.e. I need to quickly create code for others.


Approximation to C++ would rather give a small increase in the speed of developing complex TORs. But the amount of complex ToV for MT5 is so small that the relevance of C++-analogue from the viewpoint of yield is doubtful.


Speaking of MT5-libraries, they are few not because of language limitations but due to a limited number of tasks. Let's imagine that MQL5 can handle everything in C++. What MT5-library would that give you?


I am not against new features of the language. Just want to show the basic reasons for these desires.

 
Alexey Navoykov:
Right, orderlies to the ward! )

Yeah, waved each other's club cards.

 
fxsaber:

If I understand correctly the concept of modern programming is the use of third-party libraries. That is, you have to know a lot of libraries and if not know, then at least imagine the possibility of existence of libraries for your tasks. Code writing begins with googling, to put it crudely.

Since C++ libraries are numerous, the probability of finding the right one (even if highly redundant) comes down to knowing how to use a search engine, as there are rarely situations where you need to reinvent the wheel.

This approach has a high development speed, quality is not so straightforward.


I.e. the main purpose to turn MQL into C++ is the access to a huge database of libraries, in order to use the modern programming realities through this database, which is constantly updated with new solutions.


This modern approach to programming does not work in MQL. There are very few libraries, so the modern programmer is very uncomfortable in MQL. Not comfortable to quickly write something for Market/Freelance. The key word is "quickly". And it almost doesn't apply to EAs for yourself. I.e. I need to quickly create code for others.


Approximation to C++ would rather give a small increase in the speed of developing complex TORs. But the amount of complex ToV for MT5 is so small that the relevance of C++-analogue from the viewpoint of yield is doubtful.


Speaking of MT5-libraries, they are few not because of language limitations but due to a limited number of tasks. Let's imagine that MQL5 can handle everything in C++. What MT5-library would that give you?


I am not against new features of the language. I just want to show the main reasons for these desires.

If there are AI libraries in C++, let them connect all its features. It's worth it)).

In general, I'm not against that professional programmers feel comfortable and cozy in MQL5. I wish there were more of them in our community.

(Although I've always been indignant and repulsed by the clutter of entities and rules of C++. It's like kung fu, of which 10% might be useful in a real fight. And while you're doing spins, you'll get fist-pumped in the jaw).

 
Реter Konow:

If you can find AI libraries in C++, let them plug in all its features. It's worth it)).

fxsaber:

Let's imagine that MQL5 can do everything from C++. Well, what MT5 library would it give to write?

 

fxsaber:

Sowhat MT5 library would that give you to write?

An AI library.

AI is asking for EAs. This is the future.