brennydoogles
Member
Can I ask you a question? I've noticed that you sometimes seem to add functions onto the ends of variables separated by a "." and that puzzles me. Does tosell.append(", ") differ from append(tosell, ", ")? Is there some benefit to one over the other? What rules govern this transposition and when is it not legal to do so?
In Java, you can execute methods of an object's datatype (and everything including strings are objects) by simply adding a "." and the method name to the end of the object. For example, if I had a class called Dog which had a bark() method, I could create a dog object called Fido and say:
Code:
Fido.bark();