For the life of me, I just don't get it.
Usually what happens is I will write a line, and the compiler will error out saying "hey, did you mean to put a ? there" so I'll be like, ok, put a ? there.
But then it will complain again, and say "maybe you should put a ! there" and I'll be like ok, I'll try that. But it doesn't really like that. Then it will suggest !! which I don't think has ever been right.
Basically I end up trying every combination of ? and ! until the compiler finally agrees that I did it right. UGH
But really, if the compiler KNOWS that ? is the wrong thing, why does it suggest it? And what does it all MEAN?!?!?
Usually what happens is I will write a line, and the compiler will error out saying "hey, did you mean to put a ? there" so I'll be like, ok, put a ? there.
But then it will complain again, and say "maybe you should put a ! there" and I'll be like ok, I'll try that. But it doesn't really like that. Then it will suggest !! which I don't think has ever been right.
Basically I end up trying every combination of ? and ! until the compiler finally agrees that I did it right. UGH
But really, if the compiler KNOWS that ? is the wrong thing, why does it suggest it? And what does it all MEAN?!?!?