Welcome to my PinkLetter. A short, weekly, technology-agnostic, and pink newsletter where we cultivate timeless skills about web development.
TypeScript. Oh, TypeScript.
If you follow me on Twitter, you are aware I’ve been playing with its type system.
You can picture TypeScript as two languages in one: JavaScript (with a few additions) and the type language.
Here’s one tweet thread about refactoring from unsafe JavaScript to typesafe TypeScript. It shows some cool things you can do with a powerful type system:
What the Version aka WTV? by yours truly
Version ranges in different languages: Ruby, JavaScript, Rust.
It’s clear what >, >=, <, or <= mean. But what about those other cryptic symbols?
Make Data Structures by Richard Feldman
Start by thinking about what data structures I’m going to use to represent my application.
Text Aesthetics: Command Line UI/UX by Michael Cordell
In this post I’ll show the many ways you can customize your command line. Through this customization, you can have a more pleasant and efficient experience while retaining the power and flexibility of text-only software. We will start with the terminal emulator, the main window to your CLI. We’ll move on to the text and colors that style the interface. We’ll close with using prompts and status lines to bring context to your text interface.