
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
Here's the "right" define for you, since you like to pick on everything)))
#define POKE(t, i, b, n, v) ( i & ((( ~ MASK( t, n )) << t( b )) | (( v & MASK( t, n )) << t( b ))))
they are not superfluous! they help to read the logic of how the expression is formed!
does the number of brackets affect speed? - except perhaps for typing speed, but nobody watches that.... the number of brackets each user type in a day on the web is a prime example ))))
This is a guarantee of error-free and fast corrections in future.
This is a guarantee of error-free and quick revisions in the future.
there! at least someone who can write in a short and formal way, i always complicate things and write many letters... oops, here we go again)))
Here's a "correct" define for you, since you like to pick on everything))))
Another example of unnecessary brackets: chasing the numberof unnecessary brackets - missing the necessary ones
So brackets are not a guarantee of such a thing, but on the contrary - relaxesYou didn't need brackets around t and n - they couldn't be composite. All right, since we're having such a festive conversation, let's consider this ))))
After that I realized ( long( 1 ) << N ) is 2 times faster, but that's not the point)
Another example of unnecessary brackets: in the pursuit of the numberof unnecessary brackets, the necessary ones are missed
You've put too many brackets in there as "unnecessary". If one sets a goal to remove as many parentheses as one can, so that the compiler does not start swearing, maybe you're right, but this goal is not worth when one wants to write code that will be at first sight as understandable to one and others (especially considering double parentheses highlighting in the editor).
(I'm not sure about this )))
A compile-time error. What was expected?
It was a compilation error. What was expected?
It's just for the beauty of it. There are 128 more defines attached to this define for it to work, but I'd better spare the branch readers )))
they are not superfluous! they help to read the logic behind the formation of this expression!
I don't need them to understand logic. Does that make me more talented? )
Another goal for the Adepts: yes, we beat them by a landslide.)