Quote:
Originally posted by Polo
Because I program in a few languages and when i debug it usually it says things like 'Error online 54: Invalid Somthing or other.' When you have multiple things on one line it then makes it a little bit less nice to debug.
|
Well, I only combine lines if they're essentially the same, so an error in one would be an error in both. It's usually not necessary to split them up in that case.
Besides, I normally only do it for really simple stuff, like:
this.x=10; this.y=20;
I don't consider those separate operations - they're two parts of the same basic task.