Quote:
Originally Posted by Hawk552
I don't recall starting this or ever specifically saying anywhere that you have to do that, but it's completely fine. You could even consider it good practice because it clearly states what i will evaluate to instead of implying it.
|
The way of assigning the variable comes from other langs such as Java where it has to be done. There's no point doing such thing in loops ( because you have some kind of habit for that ) and then not doing it in other cases. Imagine someone doing something smiliar as this:
PHP Code:
new origin[ 3 ] = { 0, 0, 0 };
new bool: bvar = false;
The starting values have to be known and reminding them for readability is just silly. This is really bad practice for my opinion.