Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

2 replies

This is a really useful feature! I had a bug a few days ago where I forgot to close a DB connection and wished that something like Go's defer was a thing. Great timing!

6

You reached the end

var, const, let... now ‘using’? - Inside the new dispose lifecycle introduced in a recent Stage 3 TC39 proposal | Spyke