Filtering for:
remove filters
-
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
-
Build In Tiny Increments!
'My most important engineering tips: build in small steps, and share your work early and often!'
-
Function Writing Tools
You need only two tools to practice writing functions: a tool to write code, and a tool to run the code.
-
Hello World!
Welcome to Just a Function! Here's a Hello World post.