3 ms·
I disagree. You've created a variable for no reason. I hate having more variables than needed. I have to worry about things like its scope, its mutability, anyw
by lacampbell 10y ago
I disagree. You've created a variable for no reason. I hate having more variables than needed. I have to worry about things like its scope, its mutability, anywhere else it might be used, etc etc. It's pointless to me.
Like another poster below, I do agree you should spread that out over a few lines though:
window
.FindCanvasForObject(obj)
.Color(RED)
.MoveTo(10,30)
.LineTo(50,20)