Samuel Rouse

Samuel Rouse @oculus42

About: Tech generalist specializing in UI development. UI Architect by day. Playing with JavaScript for over 25 years.

Location:
Maine
Joined:
May 10, 2022

Samuel Rouse
articles - 56 total

Reactive Data With JavaScript Proxies

Stale data is one of the major headaches in modern web development. Especially in React, where hooks...

Learn More 0 0Sep 30

Promise Hashes

Promises provide powerful asynchronous program flow-control, but one of the things they do not...

Learn More 6 1Sep 28

Git Bits: The Graph

Git is...complicated. This series focuses on breaking git down into commit-sized pieces. ...

Learn More 8 0Sep 20

Git Bits: Basic Terminology

Git is...complicated. This series focuses on breaking git down into commit-sized pieces. ...

Learn More 0 0Sep 19

Git Bits: Working Without a Server

Git is...complicated. This series focuses on breaking git down into commit-sized pieces. ...

Learn More 0 0Sep 18

Mac Headaches: External Monitors

Macs have been the "It Just Works" computer for decades, but connecting multiple monitors frequently...

Learn More 0 0Sep 10

useCallback is a Lie!

Well, not exactly, but it may not work quite how you expect. It didn't work how I expected. ...

Learn More 2 0Aug 14

Use Slice, not Substring

JavaScript String.prototype.substring() and it's confusingly similar yet deprecated cousin .substr()...

Learn More 1 3Jul 17

Brevity At Work

It seems that perfection is attained not when there is nothing more to add, but when there is...

Learn More 0 0Jul 8

Bad Interview, Good Practice

LeetCode, Codewars, and similar sites that "test your skill" as a developer aren't good interview...

Learn More 5 0Jun 20

Coding Case Study: Initial Value

The answer isn't always simple, even when the problem seems to be. Figuring out answers and...

Learn More 0 0May 23

Arrays: Reduce - Make Something

When you have a set of data you want to transform into something else, like an object or a sum, you...

Learn More 1 1Mar 26

flow: JavaScript Functional Programming

flow is all about passing data between functions, which is an important part of functional...

Learn More 0 0Mar 25

Convention and Creativity

I recently ran across a small code example that made me think about rigid conventions and how they...

Learn More 0 0Mar 11

When Objects Aren't

Not everything that looks like an object is one. Here are some cases that look something like...

Learn More 1 0Mar 11

Developer Quick Bits: Go To Line

You might occasionally use the Goto Line or Line/Column feature in your IDE (Control-G for VS Code,...

Learn More 0 0Mar 5

JavaScript Quick Bits: Number Methods

We rarely need to access prototype methods on primitive types like plain numbers and strings, but we...

Learn More 1 0Feb 28

Promises Resolved

When you start integrating promises into your workflow, it can seem like you need to make everything...

Learn More 0 0Feb 13

Measuring Productivity?

Measuring developer productivity has always been difficult. Let's talk about why. A...

Learn More 1 1Feb 5

JavaScript Arrays: Filter

Filter - Fewer is Better When you need to eliminate entries from an array, you are...

Learn More 1 0Jan 24

JavaScript Arrays: Map

Map: One-for-one Changes Sometimes you want to modify data to return part of it or perform...

Learn More 0 0Jan 22

JavaScript: Arrays are Everywhere

Arrays are the foundation of nearly all data. If you ever have two or more of something, there is a...

Learn More 0 0Jan 22

Make Small Commits

When it comes to version control, I advocate for making many small, focused commits rather than large...

Learn More 3 0Jan 2

JavaScript Quick Bits: Computed Methods

You probably know about computed keys in objects, but did you realize you can use computed keys with...

Learn More 0 0Dec 26 '24

Learn by Proxy: JavaScript Quick Bits

Understanding what goes on behind the scenes when you operate on an object or call a method like...

Learn More 1 0Dec 12 '24

Do we need Promise.allSettled()?

What do you think about Promise.allSettled()? To me, allSettled looks like a solution in search of a...

Learn More 0 3Nov 20 '24

Write a Shopping Cart

Some projects are great for building your skills as a developer. A shopping cart can cover a wide...

Learn More 0 0Nov 19 '24

6 Skills You Need To Read Tech Articles Like a Pro

In the fast-paced world of technology, not everything you read is accurate or unbiased. Not...

Learn More 1 0Nov 15 '24

Git is Lazy (And That's OK)

Git source control is somewhere behind most of the software we work on today. It has a bit of a...

Learn More 2 0Oct 25 '24

JavaScript Quick Bits: Bad Comparisons

Small bugs can creep in from unexpected places. Bad values can make your conditional logic fail in...

Learn More 1 1Oct 16 '24