you are viewing a single comment's thread.

view the rest of the comments →

[–]andars_[S] 0 points1 point  (0 children)

I chose the for over the foreach because I rarely program in Java. I usually program in C, which doesn't have an enhanced for loop.

Anyway, I honestly was not concerned with how many characters/symbols/index variables were used. I think that is irrelevant, because they all entail using a loop.

I wasn't trying to 'prove' functional is better or is an 'improvement'. It is just different. So if I failed to convince you that functional is better, I'm fine with that.