Map vs Reduce vs Filter in JavaScript

So these methods are part of the “functional” aspect of JavaScript. JavaScript is a strange language in a good way. Before we get into this, know that all these methods above try to replace the “for” loop, or any other type of loop you can think of. Some of you might be saying, “I like […]

Questions People have Asked Me – Part 1

Below are some questions I was recently asked, with my answers.  Please let me know if any of them are wrong, its a learning opportunity for me 🙂 What is the binary sort algorithm and how does it work?  The binary sort algorithm (BSA) is used to effectively sort data. It works on the principle of continuously cutting the data set in half, […]

WTF is are Stacks, Queues, and Deques ?

Stack A stack is a stack of books, or a stack of sandbags or a stack of elephants or even a stack of unicorns. Basically a stack is anything that follows LIFO (Last In First Out), which means that if the last thing you put onto the stack is the first thing you have to […]

WTF is Token Authentication ?

So your working on a web app and you realize you want to allow them have accounts and login and out. To accomplish this, you can use a number of different things, or just use what ever your web framework (ASP.NET MVC, Express, Rails, and etc) of choose does. Or you can use this thing […]

WTF is an Extension ?

Have you every want to modify your car ? Well if you have then you already know the basics of what a extension is. Since you modify something that someone else has made (maybe you also made it too, but thats okay). OR have you ever been in a situation where, you are working on something. […]