These are the articles about the Javascript programming language, or things that I've written in Javascript.
Release Announcement: South African ID Parser (JavaScript library) v1.1.0
I've released a new version of an old Javascript library I maintain, the South African ID Parser. This article lists the sorts of things I've changed, and talks about my plans to publish more libraries generally.
Literate Programming
Literate Programming is a way of writing software by embedding code blocks into normal written documents (like this article itself). In this article, I explain what Literate Programming is in an abstract sense, and then introduce my preferred Literate Programming environment: Emacs Org-Mode.
What's a WASM?
What is WebAssembly? How do you compile your Rust code to WebAssembly? Once you have some WebAssembly functions, how do you use them from JavaScript? This article aims to answer those questions.
Tail Recursion
Functional programming uses recursion as its fundamental model for iteration. However, if you try to naively use really deeply nested recursion, you'll eventually run into a stack overflow error! In this article, I aim to explain why stack overflows happen, and how they can be avoided using a compiler optimization called tail recursion.
Validating a South African ID Number in Javascript
This is an announcement for an open source Javascript library that I've released, which can be used to validate South African ID numbers. It's available now on NPM.
Getting Started with Angular JS
Angular JS is quite a popular framework in the web frontend development world at the moment. As a result, a lot of people have been starting to use it. I've been using Angular for a while now, and I'd like to share some information for people who might be starting to use Angular for the first time.
An Open/Closed Icon in Angular JS
In this article, I solve the problem of how to toggle an icon between the "open" state and "closed" state on an accordion in Angular JS in three different ways.
Bitwise JavaScript
In this article, I use a programming puzzle about counting coloured balls to talk about the bitwise operations, and some of the peculiar ways that they behave in JavaScript.