Static not-Scrabble.
I made a server-less Scrabble clone that saves data in URLs. This post explains why and how, including a primer on binary data representations, and a little JavaScript library to help do this using BigInts!
Creativity, curiosity, and code
I made a server-less Scrabble clone that saves data in URLs. This post explains why and how, including a primer on binary data representations, and a little JavaScript library to help do this using BigInts!
There is a balance to be found between "inlining" multiple expressions, and using temporary variables. You may also learn about short-circuit evaluation here!
Refactoring complex conditions to make them more readable and easier to work with.
You kinda have a relationship with code from your projects. You probably have feelings about it. As I've been thinking about code style, I've also been thinking about how it's important to build up trust in a code base.
Poor code readability slows us down. So I'm going to post some of my code-readability tips! This is an introduction with the ideas behind it and all the caveats.
A super simple asset-watching script and "LiveReload" functionality. All fitting with my values. Let's see what it looks like!
I used some hacky JavaScript to scrape my friends birthdays from Facebook so that I can put them in my actual calendar.
I can't use any of my favourite note-taking apps at work. But I can use a web browser and I can write JavaScript. The logical conclusion is, of course, that I should build my own!
This time it's a static-file-driven, mobile-app-like blog. And the tooling I made should be usable on any simple WordPress blog! But... WHY???
This AI tech is amazing. And works so well when aiding humans rather than replacing them. But gosh I can see how it breaks the web.