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
Extend existing APIs This project is useful in any environment where Lua code is accepted, with the powerful option of simply declaring a...
New
First poster: andrea
Etsy’s Journey to TypeScript. Over the past few years, Etsy’s Web Platform team has spent a lot of time bringing our frontend code up to...
New
First poster: bot
GitHub - eeue56/derw: An Elm-inspired language that transpiles to TypeScript. An Elm-inspired language that transpiles to TypeScript - G...
New
First poster: bot
A Proposal For Type Syntax in JavaScript. Today we’re excited to announce our support and collaboration on a new Stage 0 proposal to bri...
New
First poster: bot
Introducing Spin We are pleased to announce our new WebAssembly framework, Spin. Spin is a foundational piece of the Fermyon Platform. It...
New
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
Effective TypeScript › What’s TypeScript compiling? Use a treemap to find out… Has TypeScript gotten slow for you? Run this one magic co...
New
First poster: bot
The new wave of Javascript web frameworks. Make sense of the proliferation of new Javascript web frameworks. A deep dive into the proble...
New
New
First poster: mercyf
Migrating from Vue 2 to Svelte. After using Vue 2 as our front-end framework for almost two years, it was announced that this support wo...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1036 18703 383
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New