elizarov
01/22/2017, 1:00 PMwhile
loop is better than `goto`" or "why for
loop is better that `forEach`" (or vise-versa) or any similar question about language features. There are necessarily many ways to do things in a typical language and the choice of what is better is highly domain-specific.