G
Guest
I do not usually use the colon in my code however sometimes i find it usefull
e.g.
pulling data from an array
....
i += 1 : this = stuff(i)
i += 1 : that = stuff(i)
i += 1 : theOther = stuff(i)
....
as it reads more clearly than incrementing i on a separate line.
Is this considered bad practice?
guy
e.g.
pulling data from an array
....
i += 1 : this = stuff(i)
i += 1 : that = stuff(i)
i += 1 : theOther = stuff(i)
....
as it reads more clearly than incrementing i on a separate line.
Is this considered bad practice?
guy