Sept. 5, 2021, noon

PinkLetter - Limit work to 4 hours a day

PinkLetter (odone.io)

Welcome to my PinkLetter. A short, weekly, technology-agnostic, and pink newsletter where we cultivate timeless skills about web development.

My Ramblings This Week

How many hours a day do you work?

I say that limiting work to 4 hours a day will make you more productive. But it won't be simple nor pleasurable.

Give stealth part-time a try.

But please don't get fired!

Elsewhere on the Web

Guideline from the 70's on how to split your React components by João Forja

Deciding how to break a component into sub-components isn’t easy and is a challenge that isn’t specific to React. This is fortunate since it means we can go outside React’s ecosystem and get some ideas on how to do it.

In this article, I’ll present a guideline to validate ideas on splitting a React component to increase code reuse and reduce maintenance costs. This guideline comes from the paper “Designing Software for Ease of Extension and Contraction” written in 1979 by David Parnas.


Visualizing a codebase by Amelia Wattenberger

How can we “fingerprint” a codebase to see its structure at a glance? Let’s explore ways to automatically visualize a GitHub repo, and how that could be useful.


Loading Third-Party JavaScript by Addy Osmani and Arthur Evans

You've optimized all of your code, but your site still loads too slowly. Who's the culprit?

Often, performance problems slowing pages down are due to third-party scripts: ads, analytics, trackers, social-media buttons, and so on.

Third-party scripts provide a wide range of useful functionality, making the web more dynamic, interactive, and interconnected. These scripts may be crucial to your website's functionality or revenue stream. But third-party scripts also come with many risks that should be taken into consideration to minimize their impact while still providing value.

You just read issue #63 of PinkLetter (odone.io). You can also browse the full archives of this newsletter.

This email brought to you by Buttondown, the easiest way to start and grow your newsletter.