RSSAmplifier

Blog

It's Just A Function

Learn to write better functions, and you will learn to write better applications.

just-a-function.devRSS feed ↗10 posts

Latest posts

Understanding mutation in common array methods - push and unshift

Understand whether push, unshift, and equivalent functions using spread syntax, mutate an array or create a copy.

Maximizing your learning, and getting help, in the age of AI.

How to approach coding assignments to maximize your learning, without over-reliance on AI, while still getting some assistance.

Relative Time Formatter Assignment

Write a function that returns a natural language relative time string representing the difference between two dates

How Long Has It Been?

Using simple functions to tell interesting stories about dates and times, like formatting how long ago something happened in natural language terms.

Let's Talk About Functions

Functions aren't the only thing in programming. But they're a pretty big part of it all.

The Roles of Variables - Follow Up

Understanding the roles of variables should makes programming easier to learn, but I didn't find this path as interesting as I thought

The Roles of Variables

Variables usually have specific jobs, and most fall into a simple taxonomy of roles. Understanding these roles makes programming easier to learn.

Do I Really Need To Be So Bespoke?

On the joys and dangers of bespokeness, tradeoffs, and reasonable default decisions

Refactoring to Web Components

Web components / custom elements are an easy way to create a modular architecture in vanilla js

Add Tests Early

I prefer to add automated tests early, to enable safer and faster iteration