Errors, bugs, questions - page 1056

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 can find a justification for the current situation myself: strict separation of "ownership" between instances of the same class could lead to cluttered syntax when describing all sorts of binary operations (even at the same hierarchy level). However, with inheritance, "direct access" should certainly be trimmed.
Because there's no point in doing so... ;)
1. Putting in a private part will not change anything in the case of
In the case of inheritance it will, that's clear.
2. Few things will be needed... Grounds are only available in the case of access to one's own copy.
3. so let it decide. correct. ;)
4. That's the whole question: what exactly counts as "correct operation".
1. If you really want to hide your wallet, why do you do gch() ?
2. And when copying instances, are there any?
1. If you really want to hide your wallet, why do you do the gh() function ?
2. And when copying instances are available?
Read my previous post. All the answers are there.
Once upon a time, it was a "political decision" to consider other objects (instances) of your own class as friends by "default" - purely to save bukaf. And now you take this exception as a norm of life and want to climb into private pockets of all distant relatives unhindered.
Huh...
1. Putting in a private part will not change anything in the case of
In the case of inheritance it will, that's clear.
2. Few things will be needed... grounds only in the case of access to one's own copy.
3. so let it be decided. correct. ;)
4. That's the whole question: what exactly is to be considered "correct work".
Ok. So tell me. How to define such a field in a class, that it can be modified only and exclusively by methods of "master" instance and no one else.
If it's impossible, then the subject of encapsulation tits isn't covered in the language, is it?
Ok. So tell me. How to define such a field in a class, that it can be modified only and exclusively by methods of "master" instance and no one else.
If it's impossible, then the subject of encapsulation tits probably hasn't been covered in the language, no?
This feature is unpleasantly surprising. It's obviously bullshit if your compiler allows you to change the private field of somebody else's instance. We should post it to servicedesk.
I don't understand: why do you want to limit yourself so much?
Do you think it will automatically make your programme safer?
It won't! On the contrary.
It is unnecessary restrictions that will make you write it that way someday: