View Single Post
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-13-2009 , 16:11   Re: Blocking Buy Commands (Basic)
Reply With Quote #3

Quote:
Originally Posted by Hawk552 View Post
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] = { 00};
new 
boolbvar false
The starting values have to be known and reminding them for readability is just silly. This is really bad practice for my opinion.

Last edited by SnoW; 10-13-2009 at 16:26.
SnoW is offline
Send a message via MSN to SnoW