News Score: Score the News, Sort the News, Rewrite the Headlines

The joy of recursion, immutable data, and pure functions: Generating mazes with JavaScript

Let’s start by addressing the elephant in the room. Why the heck am I talking about making mazes? Normally, I try to be practical when I’m writing or speaking. I want to give people tools they can use to make their coding lives better. So, I try to discuss things like creating DOM elements and processing JSON data. Because those things are practical. I would rather not waste people’s time on things they’re not going to use. But, mazes, they’re not so practical. Unless you’re working in game deve...

Read more at jrsinclair.com

© News Score  score the news, sort the news, rewrite the headlines