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
Assertion Functions in TypeScript. TypeScript 3.7 implemented support for assertion functions in the type system. An assertion function ...
New
First poster: bot
WebAssembly in my Browser Desktop Environment. For over a year now I’ve been working on daedalOS, my desktop environment in the browser....
New
First poster: davearonson
Javascript Does Not Need a StringBuilder. Today I learned that Javascript does not need a StringBuilder for accumulating a large number ...
/js
New
CommunityNews
Abstract This document describes version 2.0 of the core WebAssembly standard, a safe, portable, low-level code format designed for effic...
New
First poster: bot
Building a JavaScript Bundler. Learn the basics of building a JavaScript bundler.
/js
New
CommunityNews
WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all t...
New
First poster: bot
JavaScript Containers. The majority of server programs are Linux programs. They consist of a file system, some executable files, maybe s...
New
First poster: bot
GitHub - astrodon/astrodon: Make Desktop apps with Deno :sauropod:. Make Desktop apps with Deno :sauropod:. Contribute to astrodon/astro...
New
First poster: bot
ESLint equivalents in Elm. Comparing ESLint functionality and the equivalents in the Elm ecosystem
New
CommunityNews
Introducing Signals – Preact. Signals are a way of expressing state that ensure apps stay fast regardless of how complex they get. Signa...
New

Other popular topics Top

AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
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
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New