Composites comparator choice: docs.google.com/presentation...
(Yet to be finalised) agenda here:
github.com/tc39/agendas...
Composites comparator choice: docs.google.com/presentation...
(Yet to be finalised) agenda here:
github.com/tc39/agendas...
Excellent talks and really welcoming atmosphere.
Amsterdam is a fantastic city.
Thanks to everyone for the geeky JS chats.
Excellent talks and really welcoming atmosphere.
Amsterdam is a fantastic city.
Thanks to everyone for the geeky JS chats.
If I've only typed two characters, that is not enough to read my mind.
If I've only typed two characters, that is not enough to read my mind.
Know these have been in the works for a while and I'm so excited to try them out.
devblogs.microsoft.com/typescript/a...
Know these have been in the works for a while and I'm so excited to try them out.
devblogs.microsoft.com/typescript/a...
I asked ChatGPT "When do you think there will be a best selling novel written entirely by AI?"
A: "You might see a fully AI-authored book in the Amazon Top 100 by the late 2020s, and a New York Times best-seller by early 2030s."
I asked ChatGPT "When do you think there will be a best selling novel written entirely by AI?"
A: "You might see a fully AI-authored book in the Amazon Top 100 by the late 2020s, and a New York Times best-seller by early 2030s."
80/20% nervous/excited.
Watch films or try and code without a copilot on the flight?
80/20% nervous/excited.
Watch films or try and code without a copilot on the flight?
But I can't find it anywhere.
Did I dream this?
cc: @en-js.bsky.social @no.lol
But I can't find it anywhere.
Did I dream this?
cc: @en-js.bsky.social @no.lol
Did do a little bit of c++ for the first time in years, having a go at implementing something in v8.
I had not missed preprocessor header includes and macros. JS has made me soft.
Did do a little bit of c++ for the first time in years, having a go at implementing something in v8.
I had not missed preprocessor header includes and macros. JS has made me soft.
assert.partialDeepStrictEqual(
[1, 2, 3, 4, 5, 6, 7, 8, 9],
[4, 5, 8],
);
My gut guess would have been that only common prefix would pass. I can see how this is also useful, just surprised me.
nodejs.org/api/assert.h...
assert.partialDeepStrictEqual(
[1, 2, 3, 4, 5, 6, 7, 8, 9],
[4, 5, 8],
);
My gut guess would have been that only common prefix would pass. I can see how this is also useful, just surprised me.
nodejs.org/api/assert.h...
(x) => <elm prop1={1} prop2={x} />;
to
const _staticProps = { prop1: 1 };
(x) => jsx("elm", {
__proto__: _staticProps,
prop2: x
});
i.e the contract is that the props on the prototype never change so don't need to be diffed.
(x) => <elm prop1={1} prop2={x} />;
to
const _staticProps = { prop1: 1 };
(x) => jsx("elm", {
__proto__: _staticProps,
prop2: x
});
i.e the contract is that the props on the prototype never change so don't need to be diffed.
johnnyreilly.com/typescript-g...
johnnyreilly.com/typescript-g...
youtu.be/hFenspfGLTk?...
youtu.be/hFenspfGLTk?...
@mattpocock.com and proposal champion @ashley-c.bsky.social explain why TC39 Stage 2 Record & Tuple has been withdraw and replaced with the new Stage 1 Composites proposal 👍
Contains discussion of performance expectations and constraints.
youtu.be/hFenspfGLTk
@mattpocock.com and proposal champion @ashley-c.bsky.social explain why TC39 Stage 2 Record & Tuple has been withdraw and replaced with the new Stage 1 Composites proposal 👍
Contains discussion of performance expectations and constraints.
youtu.be/hFenspfGLTk
* yesterday I relearned
* yesterday I relearned
blog.logrocket.com/typescript-g...
blog.logrocket.com/typescript-g...
Congrats to @ashley-c.bsky.social on advancing the Composites proposal to Stage 1 at TC39 today 🎉
This is the evolution of Stage 2 Record & Tuple which has now been withdrawn.
A key difference is that Composites are objects, not primitives.
github.com/tc39/proposa...
Congrats to @ashley-c.bsky.social on advancing the Composites proposal to Stage 1 at TC39 today 🎉
This is the evolution of Stage 2 Record & Tuple which has now been withdrawn.
A key difference is that Composites are objects, not primitives.
github.com/tc39/proposa...
Found some code using this pattern:
```
await Promise.race([someRequest, setTimeoutPromise(15_000)]);
```
Even though the outer promise resolves, the timer promise keeps the process alive.
Found some code using this pattern:
```
await Promise.race([someRequest, setTimeoutPromise(15_000)]);
```
Even though the outer promise resolves, the timer promise keeps the process alive.
It's a high level DB type, which needed a promise-like thing, but they created something bespoke for this one API. It's the antithesis of the extensible web.
It's a high level DB type, which needed a promise-like thing, but they created something bespoke for this one API. It's the antithesis of the extensible web.