Sorry if it\'s dumb question, still learning. Thank you!
There are two examples below that produce same result. Trying to understand which one is better in which situ