Is multiple inheritance allowed in mql4? | Inheritance - MQL4 Documentation bottom of the page MQL4 has no multiple inheritance
|
WHRoeder:
Thanks for your answer! It looks like to have a programming language in which the programmer can write any function but the function has to have maximum one input parameter! I really sometimes do not understand the logic behind the features implemented in MQL4.
Is multiple inheritance allowed in mql4? | Inheritance - MQL4 Documentation bottom of the page MQL4 has no multiple inheritance |
Rasoul:
Thanks for your answer! It looks like to have a programming language in which the programmer can write any function but the function has to have maximum one input parameter! I really sometimes do not understand the logic behind the features implemented in MQL4.
JAVA does not have multiple inheritance either, and it is considered to be very pure and powerful OOP language. The trouble with MQL4 does not originate in inheritance.
Thanks for your answer! It looks like to have a programming language in which the programmer can write any function but the function has to have maximum one input parameter! I really sometimes do not understand the logic behind the features implemented in MQL4.
Ovo:
JAVA does not have multiple inheritance either, and it is considered to be very pure and powerful OOP language. The trouble with MQL4 does not originate in inheritance.
In Java we have the concept of 'interface' which lets us implement multiple inheritance somehow... Anyway, MQL4 does not look JAVA style programming, it is essentially based on C/C++ programming style, so it is logical that one expects to see the similar features between two languages...JAVA does not have multiple inheritance either, and it is considered to be very pure and powerful OOP language. The trouble with MQL4 does not originate in inheritance.
Rasoul:
In Java we have the concept of 'interface' which lets us implement multiple inheritance somehow... Anyway, MQL4 does not look JAVA style programming, it is essentially based on C/C++ programming style, so it is logical that one expects to see the similar features between two languages...
Whatever you say, but the weak point is not the OOP language, the weakest point is the editor. Try it, and all your hair goes off head.
In Java we have the concept of 'interface' which lets us implement multiple inheritance somehow... Anyway, MQL4 does not look JAVA style programming, it is essentially based on C/C++ programming style, so it is logical that one expects to see the similar features between two languages...
Ovo:
but the weak point is not the OOP language, the weakest point is the editor. Try it, and all your hair goes off head.
Whatever you say...
but the weak point is not the OOP language, the weakest point is the editor. Try it, and all your hair goes off head.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am writing a library in mql4 language in which I would like to have multiple inheritance. I use the following format:
But at compile time it complains that it expects to see '{' after the comma in front of `public A`. Does anybody know whether multiple inheritance feature is supported by MQL4?