A newcomer asks! - page 25

 
Alexander Bereznyak:
this is not redundant, with your style you will get a large number of warnings, according to you this is good programming style

Why bother if you don't understand?

There are no warnings.

Even Michael has already agreed that what was wrong was not wrong, just the style.

 
Alexander Bereznyak:
it's not redundant, with your style you get a lot of warnings, you think it's a good programming style

Alexander!

Don't argue with Fedoseyev because:

1. he is ALWAYS right!

2. If he's wrong, see point 1.

3. He can easily turn to personal insults.

4. He won't get banned for some reason, but you could easily get banned.....

It is not worth it.

 
Михаил:

Alexander!

Don't argue with Fedoseyev because:

1. he is ALWAYS right!

2. If he is wrong, see point 1.

Replace my last name with your own, it would be more correct.

And yes, I am always right because, where I am wrong, I agree and do not argue.

 

Nextor257, why not write it that way then?

if (PositionSelect(_Symbol))
  {
    double type = double( PositionGetInteger(POSITION_TYPE));
   
    if ( type == double(POSITION_TYPE_BUY))
    {
      ///ляля-ляля
    }
  }
 

and that either you have a different compiler or you live in a different world.

in a large project, you could get several hundred of these messages.

such a project would be very easy to debug

you wouldn't be ashamed to pass such a project to the customer - you might pay a fee (not a small one, perhaps) and get a warning page

pass it on to another programmer and then smirk smugly, imagining what inconveniences you caused to your competitor

And the highest skill is to lose a couple of critical warnings and spend a week on debugging them

 
Михаил:

Nextor257, why not write it that way then?

You don't care, write it that way.
 
Alexander Bereznyak:

and that either you have a different compiler or you live in a different world

in a large project, you could get several hundred of these messages.

such a project would be very easy to debug

you wouldn't be ashamed to pass such a project to the customer - you might pay a fee (not a small one, perhaps) and get a warning page

pass it on to another programmer and then smirk smugly, imagining what inconveniences you caused to your competitor

And the highest skill is to lose a couple of critical warnings and spend a week on debugging them

No. You're the one with the wildest imagination.
 
Dmitry Fedoseev:
Oh, no. You're the one with the rampant fantasy.
What fantasy?
 
Alexander Bereznyak:
what fantasies

Is this a reality for you in your world? - A sheet of warnings... inconveniencing a competitor... snide laughter... losing critical warnings... Yes?

Shouldn't you read what you're talking about first before you jump in?

 
Dmitry Fedoseev:

Why bother if you don't understand?

There are no warnings.

Even Michael has already agreed that what was wrong wasn't wrong, just style.

these are your words, there are no warnings, but there really are.

What world do you live in, what do you smoke, share.

Reason: