var cos, min; min = 3 cos = min + 1 show_message(string(cos))To me this doesn't sound like a smart move. Is the advent of GM:Studio a good time to start disallowing this, alongside the other bad practices that are already taken care of?
Now is a good time to start disallowing this
Posted 11 March 2012 - 03:19 PM
Posted 11 March 2012 - 07:28 PM
It's not a question of wanting to do that, it's a question of happening to do that, or accidently doing that.
I..why would you even do that?
I don't WANT to not initiallize variables, but should I forget or mistype a variable name, I want an error message.
Posted 11 March 2012 - 08:15 PM
sin = pi/2;
cos = sin(sin);
abs = -abs(-1);
abs = abs(abs);
exp = exp(cos(sin)/abs);
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users