I think the inline versus multiline choice depends on what type of code you are writing. Anything that involves a logical list of items I prefer newlines.
var items = [
item_one,
item_two(args),
1 + 2,
]
But, sometimes I have little tuples, like points, that would be burdensome, and unclear to do multiline:
var a : point = [1,2]
var b = pt_a + [3,4]
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think the inline versus multiline choice depends on what type of code you are writing. Anything that involves a logical list of items I prefer newlines.
But, sometimes I have little tuples, like points, that would be burdensome, and unclear to do multiline: