InJavaScript in Plain EnglishbyIan Grubb·Jan 13, 2021How to Manage Scope While Chaining Array MethodsFunctional programming is a deep topic that has foundations in some pretty complicated mathematics. Luckily, you don’t have to understand…A response icon1A response icon1
Ian Grubb·Dec 30, 2020Data Structures and ImmutabilityThis December I’ve been working though the latest iteration of Advent of Code. In case you haven’t seen it before, it consists of one…A response icon2A response icon2
Ian Grubb·Nov 2, 2020Modeling Bowling in ElixirThe rules of bowling seem simple: there are 10 frames per game, each frame has 10 pins, and for each frame you get two chances to knock…
InThe StartupbyIan Grubb·Oct 19, 2020How to Solve First Missing PositiveI try to spend some time each week practicing algorithms. Lately, I’ve been challenging myself to find solutions that are optimized for…
Ian Grubb·Oct 5, 2020Function Piping in JavaScriptIt can be really valuable to learn a new programming language, even if the what you learn doesn’t become your language of choice for…A response icon1A response icon1
Ian Grubb·Sep 28, 2020First-Class Functions in JavaScriptJavaScript is a multi-paradigm programming language that allows certain functional programming techniques. It does this by supporting the…A response icon1A response icon1
Ian Grubb·Sep 14, 2020A Guide to CSS PositionBuilding layouts is an important but challenging aspect of front-end development. Given this, it’s no surprise that CSS has a lot of…
Ian Grubb·Sep 12, 2019How to Make Out of This World Recursive Components in ReactOne of the big advantages of React is that it lets you make complex components out of other React components. For instance, you might make…A response icon1A response icon1
Ian Grubb·Aug 21, 2019How to Use the Y Combinator in JavaScriptContemporary programming languages allow various ways of repeatedly calling a function. For instance, some options in JavaScript include:
Ian Grubb·Jul 26, 2019Elegant Iteration in RubyRuby’s each is a powerful, general-purpose method for iterating over arrays. At least in theory, anything you want to do with the elements…