CommunityNews

CommunityNews

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

Generating mazes might not be something you do a lot in your typical front-end job. Some might call it a waste of time. Why bother if you’re not a game developer? Who needs that kind of thing? Sure, it might not be essential, but it’s a lot of fun. Building mazes also presents interesting real-world challenges. How do we deal with random numbers if we’re creating pure functions? How do we implement a repetitive algorithm without using loops? How do we work effectively with immutable data structures? And most importantly, can we have some fun while we’re at it?

Read in full here:

Where Next?

Popular Frontend topics Top

First poster: bot
Starting a blank Jekyll site with Tailwind CSS in 2022. Most websites I build start off as a blank Jekyll site with Tailwind CSS on top.
New
First poster: bot
GitHub - phoboslab/q1k3: A tiny FPS for js13k. A tiny FPS for js13k. Contribute to phoboslab/q1k3 development by creating an account on ...
/js
New
First poster: bot
So, Wasm lets you write code in the language of your choice and run it anywhere. What makes it interesting?
New
First poster: bot
Learning HTML was too hard so I made a compiler instead. This is the 10-year story of how I struggled to learn how to code.
New
First poster: bot
Type-Level TypeScript — Introduction. A course to take your TypeScript skills to the next level!
New
First poster: bot
Understanding HTML with Large Language Models. Large language models (LLMs) have shown exceptional performance on a variety of natural ...
New
First poster: bot
Speeding up the JavaScript ecosystem - one library at a time. Most popular libraries can be sped up by avoiding unnecessary type convers...
New
First poster: andrea
Learning HTML to build your website, fanzine, or personal site.
New
First poster: joeb
Exploring how React’s dominance by default stifles frontend innovation, and why deliberate framework choices lead to better tools for per...
New
First poster: gflashner
Offline-first apps promise instant loading and privacy, but in practice, very few apps get offline support because getting sync right is ...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
502 14279 275
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
PragmaticBookshelf
Use WebRTC to build web applications that stream media and data in real time directly from one user to another, all in the browser. ...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New