Clark Feusier

Software Engineer and Metalogician

19 March 2015

Guest Post: String Primitives and String Objects in JavaScript

My friend and talented young Software Engineer, Paulo Diniz, wrote this guest post to explain the difference between String Primitives and String Objects in JavaScript, and what that might mean to a JavaScript programmer. The following is from Paulo…

Read more
19 February 2015

Variable Hoisting and Function Hoisting in JavaScript

In JavaScript, both variables and functions are hoisted by the interpreter at runtime. However, variables and functions are not hoisted in the same way as each other. Roughly, hoisting is when a line of code is parsed and made available to the runtime environment before the line of code is (seemingly) executed by the interpreter.

Read more
18 January 2015

Popular Interview Question Series: Variations on Asynchronous Map

One of my favorite ‘toy problems,’ often asked in technical interviews during a ‘screening’ phase, is to implement an asynchronous mapping function. This problem can be tricky because it tests your knowledge of asynchronicity and your ability to use callback functions. This knowledge is considered necessary for a web-application engineer — asynchronous programming techniques, event systems, and use of callback functions are standard for building web apps. So, many interviewers use this question to cut to the chase.

Read more
16 January 2015

Popular Interview Question Series: Balanced Parentheses and a Stack

In early-screening technical interviews, the Balanced Parentheses question is quite popular. It goes something like this:

Read more
14 January 2015

Concatenate and Minify JavaScripts and Stylesheets for Production with Grunt

In this post, you will learn why you should concatenate and minify your scripts and stylesheets into one small file using the task runner called Grunt.js. You will also learn how to concatenate and minify your scripts and stylesheets with Grunt.

Read more
11 January 2015

Popular Interview Question Series: Higher-Order Functions and Function Binding

In technical interviews, it is common that the interviewer will throw in a question that tests your knowledge of higher-order functions and function-binding. If you are applying for a job as a JavaScript engineer, then you should expect an interview question in some similar form to the following:

Read more
08 January 2015

Node Basics: How to Create a Simple Server and Router + Node Fundamentals

Who: this post is for anyone looking to learn some of the foundations required for working with Node

Read more
04 January 2015

Rollin' Trees, yo

I like trees. All kinds of trees — concrete and abstract. Redwoods, Oaks, search trees, decision trees, fruit trees, DOM trees, Christmas trees, and more.

Read more
14 December 2014

Object-Oriented JavaScript - Pseudo-Classical Class Pattern

Read more
13 December 2014

Object-Oriented JavaScript - Prototypal Class Pattern

Read more