The short answer is "It depends, use whichever is clearer and more readable in context." Beyond that, I'm afraid Stack Overflow is expressly
not suited for open-ended, opinion-based questions. It would probably be a
better fit on
Software Engineering, but it may or may not be too open-ended for there too, I'm not sure. —
CrazyChucky 36 secs ago