Re the blog post: PSA: Thread-local state is no longer recommended

Isn’t that pretty much the same pattern as the one proposed in the other thread (the latter just being more explicit/verbose)?

x isn’t defined here?