2010-10-29, 02:41 PM
Kalovale Wrote:Also, is it noticeably bad practice to create unnecessary objects? Like the remainder below with is only used once and can easily be substituted by goal%5?Not at all, in fact the opposite is true. Using variables to store intermediate results can make your code more readable than if you have one gigantic expression.

