Blog

Archive for the JavaScript Category


String Padding and Trimming
Posted on September 10, 2020 in JavaScript by Matt Jennings

The code below was added to the JavaScript library in ES2017 (string padding) and ES2019 (string trimming).

// Code below works …

Read more


Tagged Template Literals
Posted on September 10, 2020 in JavaScript by Matt Jennings

The ability to run a template string through a function, and have control how the actual template string is made, …

Read more


Template Strings
Posted on September 10, 2020 in JavaScript by Matt Jennings

Template Strings areĀ also called String Interpolation, and used in other programming languages like C#.

Code example:

var name = “Kyle Simpson”;
var email …

Read more


Functional Programming from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 27, 2020 in Algorithms, JavaScript by Matt Jennings

Avoid side effects, or keep functions pure.
Use Higher-Order Functions, which are functions that receives a function an as argument or …

Read more


Implementing Data Structures from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 26, 2020 in Algorithms, JavaScript by Matt Jennings

The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that can grow as needed.

Standard Java …

Read more