June 26, 2022, noon

PinkLetter - TypeScript.tips

PinkLetter (odone.io)

Pink circle

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

My Ramblings This Week

When you write TypeScript code, do you start from JavaScript or from static types?

Most developers start from JavaScript—and I'm not surprised since Microsoft says that TypeScript is JavaScript with syntax for types.

Unfortunately, retrofitting types can be problematic:

  • The compiler can't help if you develop the implementation by throwing anys around.
  • Static types are an exceptional tool to ask questions and model a domain. You prolly want to do that before, not after.
  • If you want to use precise static types, it's easier to make the compiler happy if you start there.

Consider TypeScript Tips if you want to step up your game. It's free.

By the way, I'm looking to do more freelancing. Please remember me next time somebody asks for a kickass fullstack engineer.

Elsewhere on the Web

Rejecting Specialization by Tom Critchlow

So in this post I’m going to reject the commonly accepted wisdom and look at why specializing is hard, why it fails and what an alternative path looks like. The answer lies in developing strong opinions and a distinctive vibe.

Riccardo: But don't take this as an excuse to just say I do everything!


The Turbo Rails Tutorial by Alexandre Ruban

Learn how to create modern, single-page, reactive web applications with Ruby on Rails 7 without writing any custom JavaScript code.

Riccardo: Hotwire is the Rails take on Laravel Livewire and Phoenix Liveview. If Rails is not your cup of tea, take a look at Turbo which is the tech-agnostic standard.


RemixConf 2022 - Videos by Remix

Remix is a web framework with a laser focus on web fundamentals and modern user experience. Remix Conf is intended to feature members of the Remix community and give them an opportunity to inspire each other to build excellent apps with Remix. #RemixConf 2022 was the first year #RemixConf was held.

Riccardo: The keynote by Michael Jackson is a nice intro to it all.

You just read issue #104 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.