-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This is kind of getting into the realm of functional programming but is very common in idiomatic JS. The example should compare built-in as well as library based collection transformations. This includes functions such as map, flatMap, filter, each, etc. Ideally over multiple collection types. Since JS mainly has lists ([]) and maps ({}), we should focus on those types. I think we should stay away from the newer types in JS such as Map as they 1) aren't much used in typical JS code and 2) do not provide functional interfaces.
For the JS library section, Lodash should be used as it is 1) the gold standard and highly popular JS library and 2) provides a wide variety of collection-based methods.
For the C++ library section, I think Boost will likely be what is used, but am open to other suggestions as long as the library can be considered extremely mainstream and heavily used by the community at large.