Too Long; Didn't Read
This article is about how I rewrote my library <a href="https://github.com/francisrstokes/vec-la" target="_blank"><strong>vec-la</strong></a> in a functional programming style. <strong>vec-la</strong> is a small 2d <a href="https://en.wikipedia.org/wiki/Linear_Algebra" target="_blank">linear algebra</a> library that models <a href="https://en.wikipedia.org/wiki/Euclidean_Vector" target="_blank">vectors</a> and <a href="https://en.wikipedia.org/wiki/Matrix_%28mathematics%29" target="_blank">matrices</a> as<em> plain javascript arrays</em>. This article <em>is not about</em> math and linear algebra though — you don’t have to know that much to be able to get some value out of it.