Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu
15 Fri 08:45 AM – 05:10 PM IST
16 Sat 09:45 AM – 05:30 PM IST
17 Sun
Lakshman Prasad
One of the first things someone learns in programming is to loop, i.e. perform a sequence of steps on a set of elements. Any developer - beginner to advanced, writes atleast a few loops every hour. It’s ubiqutious nature merits a deep dive into the fundamentals of looping.
Let’s explore the various ways to loop in Javascript and it’s appropriate use cases. We explore loops in the imperative style and functional variants such as map and reduce. We look into the implementations of underscore.js, lodash and other such libraries that were often used with ES5.
ES6 comes bundled with many of these including the new generator syntax, which we will dig deep into, so your loops going forward can be both machine-efficient, and developer-friendly.
Lakshman Prasad has been programming for a decade and finds ways to do efficiently, things that are often done. He works for a management consulting firm in developing technology solutions.
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}