re: [Lookin' for advice] How should I use loop effectively? VIEW POST


It is my preference for using map, filter, and reduce. It allows me to extract the logic into testable and reusable functions.

Whatever language you are using should also contain sort, which will most times be faster than your custom rolled sorting algorithm.

code of conduct - report abuse