2024-11

Mastodon’s weaknesses and how to fix them

[2024-11-20] computers, decentralized, mastodon

As a web developer, I love Mastodon:

  • Since Twitter became X, there are enough web dev people here.
  • I’m happy with the web app – it even has several nice touches where it is better than Twitter.
  • I’m not locked into an ecosystem that is controlled by a single company.

That being said, Mastodon still has several major weaknesses. In this blog post, I collect those and explain what’s being done to fix them. It is not meant to be exhaustive: If there is a weakness that affects you and isn’t mentioned here, then please let us know in the comments.

2024-06

Ecma International approves ECMAScript 2024: What’s new?

[2024-06-26] dev, javascript, es2024

On 26 June 2024, the 127th Ecma General Assembly approved the ECMAScript 2024 language specification (press release, GitHub release), which means that it’s officially a standard now.

This blog post explains what’s new.

ECMAScript 2024 features: resizing and transferring ArrayBuffers

[2024-06-01] dev, javascript, es2024

In this blog post, we examine ArrayBuffer features that were introduced in ECMAScript 2024:

2024-05

ECMAScript 2023 feature: symbols as WeakMap keys

[2024-05-19] dev, javascript, es2023

In this blog post, we take a look at the ECMAScript 2023 feature “Symbols as WeakMap keys” – which was proposed by Robin Ricard, Rick Button, Daniel Ehrenberg, Leo Balter, Caridy Patiño, Rick Waldron, and Ashley Claymore.

ECMAScript 2025 feature: duplicate named capturing groups for regular expressions

[2024-05-16] dev, javascript, es2025

In this blog post, we take a look at the ECMAScript 2025 feature “Duplicate named capturing groups” which was proposed by Kevin Gibbons.

It’s a feature for regular expressions that enables us to use the same capturing group name more than once.

ECMAScript 2024 feature: Promise.withResolvers()

[2024-05-14] dev, javascript, es2024, async, promises

In this blog post we take a look at the ECMAScript 2024 feature Promise.withResolvers (proposed by Peter Klecha). It provides a new way of directly creating Promises, as an alternative to new Promise(...).

2022-12

ECMAScript 2025 feature: Set methods

[2022-12-14] dev, javascript, es2025

In this blog post, we examine the ECMAScript proposal “Set methods for JavaScript” by Michał Wadas, Sathya Gunasekara and Kevin Gibbons. It introduces new methods for Sets.

ECMAScript proposal: iterator helpers

[2022-12-09] dev, javascript, es proposal

In this blog post, we look at the ECMAScript proposal “Iterator helpers” by Gus Caplan, Michael Ficarra, Adam Vandolder, Jason Orendorff, Kevin Gibbons, and Yulia Startsev. It introduces utility methods for working with iterable data: .map(), .filter(), .take(), etc.

The style of the proposed API clashes with the style of the current iteration API. We’ll explore how we can fix that.

2022-11

Testing static types in TypeScript

[2022-11-28] dev, typescript

When it comes to TypeScript code:

  • There are many options for testing its behavior at runtime.
  • There are far fewer options for testing its compile-type types.

In this blog post, we look at the latter.

ECMAScript proposal: Array.fromAsync()

[2022-11-27] dev, javascript, es proposal

This blog post is about the ECMAScript proposal “Array.fromAsync for JavaScript” by J. S. Choi. It introduces a static method for converting asynchronous iterables to Arrays.