What if someone that had no idea about programming came over and told you that you could program faster if you used a for loop, without ever reading your code? They probably think I suck at programming, or think a bit too much of themselves.
This is a mathematician telling canned packaging experts that they could save money by considering the size of the can.
We are talking about asking though. Like "why don't you just use a for loop? Wouldn't that be faster?" or "I think that a for loop would be faster, why are you not using it?", both seem absolutely fine to me.
I am only defending the sentences starting with "why don't you just" and ending with a "?". I am not defending nor support aggressive ones like the one that you mentioned.
What if someone that had no idea about programming came over and told you that you could program faster if you used a for loop, without ever reading your code? They probably think I suck at programming, or think a bit too much of themselves.
This is a mathematician telling canned packaging experts that they could save money by considering the size of the can.