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
Why? Another pattern. Except that the adherents of the patterns did not recognise it, apparently not orthodox, not canonical. Why not recursion? Also recursion, only not along, but across.
Igor simply complained that he has two cycles and cannot cram the miracle into one.
So, I remembered this web site with an example, maybe I can do without loops at all. And a miracle may happen ))
And so I suggested this variant to think over )) maybe it will work without loops.
And the fact that someone what is not according to religion, it's a matter of each.
Igor was just complaining that he got two loops and could not cram a miracle into one loop.
I wasn't complaining, I was trying to learn programmers' secrets :)
I can do it, I can wrap (replace) a loop with recursion - if it would help :)
What's not religious is everybody's business.
It's not about religion but understanding that there are well-established programming practices and if most people use these practices, it means that they are effective - effective in terms of speed, effective in terms of code readability, effective in terms of further maintenance, effective in terms of reuse...
and religion? imho, know-how in programming is usually about not owning the material (or information) and then disseminating these "rakes" as your own innovation
I wasn't complaining, I was trying to learn the programmers' secrets :)
I can do it, I can also use recursion, if it would help :)
It's not about religion but the idea that there are well-established programming practices and if most people use them, it means that they are efficient - efficient in terms of speed, efficient in terms of code readability, efficient in terms of further maintenance, efficient in terms of reuse...
And religion? imho, know-how in programming is usually about not owning the material (or information) and then spreading these "rakes" as your own innovation
One example mentions that the example uses a metaprogramming pattern.
Using templates, it is possible to write programs that perform computations at compile time, as long as it suits the task.
Such programs are called template metaprograms.
The terminal is called MetaTrader for a reason.
;))
I wasn't complaining, I was trying to learn the programmers' secrets :)
I can do it, I can also use recursion, if it would help :)
It's not about religion but the idea that there are well-established programming practices and if most people use them, it means that they are efficient - efficient in terms of speed, efficient in terms of code readability, efficient in terms of further maintenance, efficient in terms of reuse...
And religion? imho, know-how in programming, usually it's not owning the material (or information) and then spreading these "rakes" as your own innovation
Igor, I couldn't resist this morning and drew on my knee a call of any methods without loops. Just in case it may really come in handy. *Cautiously, SB used :))
Why? Another pattern. Except that the adherents of the patterns did not recognise it, apparently not orthodox, not canonical. Why not recursion? It's also recursion, only not longitudinally, but transversely.
It's called "loop unrolling" and is done by the compiler without any OO and templates (at least it should be).
If you look into the intermediate code (assembler), there are just N operations in a row instead of a loop.
Got an unexpected result.
What is the size of structures via sizeof, because I'm not at the comp?
The larger the size of the simple structure, the slower it is handled.
The larger the size of the simple structure, the slower it is handled.
make the first structure {int;int;double[2]}