Signs to terminus
Remember all those problems we had? https://medium.com/@sfyire/all-change-here-a0d2f1b53876#.4nkasp9o6
All gone in this article, yep this is the golden ticket to programming nirvana, just use these custom functions I came up with! Half life 3 confirmed, 1 === 1 confirmed, quantum physics debunked, chem trails real something something.
Okay I lied but I am going to try and poly fill for functional programming at least for the scope problem
If you ever find yourself using use() in map/filter/reduce and then you need to refactor your function out of scope then you can use partial() to inject your parameters early like so
Now we can inject our functions ahead of time with whatever we want then throw them to the dogs: map, reduce, filter for those functions to inject with the last bits of information
Well we sure achieved something.. good thing there’s no absolute right or wrong and we’ll all be dead floating around as star dust soon
We have solved the scope issue by making our code potentially un-readable to new comers and performance is worse than just filter/map/reduce on their own (which were already bad)