The reason why I raise the question because I feel like I'm abusing loop to solve various problems, such as: sorting, accessing data from arrays, searching, etc. Since I have see other real code do, I wonder how many loops are usually used in a program. Also, how other developers using loop in their algorithms/programs. What is frequency of loop in a small piece of code?
Classic DEV Post from Aug 9 '18