šŸ¤ Open source advocate šŸ‘½ Maintainer of @stryker_mutator šŸ’¼ Manager and trainer @InfoSupportBV šŸ’š Loves green energy and vegetables

Holland and Belgium
Today is awesome! #github has added a file explorer to the files diff tab. This quality of life improvement is much appreciated šŸ˜
If you're ever looking for a guest to code with, i'd be happy to volunteer 🤔
1
1
Loving the live coding sessions with @JoshuaKGoldberg on twitch! twitch.tv/joshuakgoldberg?sr…
1
1
Proud that we have a @sveltejs training. Come and see what all the fuss is about 🤘
NIEUW! SVELTE-training! Schrijf je in via tinyurl.com/ydbvmup4 Startdatum: 27-29 juni in #Veenendaal of remote! #onlinetraining
TS is ~10 years old at this point, it seems healthy to start its teenager years with some storming and experimentation. Let's hope we don't need to wait until its sweet sixteen birthday party for this to land in JS proper šŸŽ‚ 10/10 🧵
1
All in all, I'm very excited! I will be closely monitoring how this proposal is going. Did you know you can _read the meeting notes on github_? Love the open-source mentality! šŸ’™ github.com/tc39/notes 9/10 🧵
1
1
Looking into the proposal in more detail: I'm learning new things šŸ˜! Did you know that `add<number>(4, 5)` is _valid JS_? It makes sense when you think about it, just never did šŸ¤·ā€ā™‚ļø astexplorer.net/#/gist/26322… 8/10 🧵
2
1
3
Side note: This is another reason why it was super-smart for @ahejlsberg šŸ§“ and his team to use the `.ts` extension, instead of .js, which was a popular alternative. It will now be easy to disallow 'non-core-ts' code, like enums, in .js files. 7/10 🧵
1
Not allowing all TS syntax splits the TS world. A "core ts syntax" would be allowed in .js, but not all of it. It might be smart to already start using that core syntax today to make the eventual migration step easier. For example: choose string unions over enums. šŸ¤” 6/10 🧵
1
3
Anything that comes with runtime overhead, like enums, namespaces, and constructor parameters, is deemed out of scope. This is a good thing: you don't want to go too much off-topic in a big proposal like this. šŸ¤·ā€ā™‚ļø 5/10 🧵
1
1
There is also a bunch of new syntax to be added to JS: interfaces, types, generics, import type, ... the list goes on. 😵 Not all of it planned to be added at once. 4/10 🧵
2
Reading through it, it is clear that this is not going to be easy. It's mainly hard to decide _where type comments start and where they stop_. For example: `function foo(bar: baz) {}` seems simple, but what about `function foo<bar>(baz: { qux: corge }) {}`? šŸ¤·ā€ā™€ļø 3/10 🧵
1
2
I'm very happy with the proposal! I've said for years now that I'd eventually see the TS world and the JS world colliding on the file level. Adding types as comments feels like the best of both worlds: strong validation at CI time and no runtime overhead. 2/10 🧵
1
2
šŸ¤” My thoughts on the "Types as comments" proposal, that is up for discussion to go to stage 1 in the March TC39 meeting. github.com/giltayar/proposal… Thanks to @giltayar, @drosenwasser, @robpalmer2, @romulocintra, and others for pioneering this proposal 🧵1/10
1
5
12
This is very exciting!!! A Proposal For Type Syntax in JavaScript devblogs.microsoft.com/types…
2
Last week moved some TS code we ran without type checking (using ts-node's transpileOnly) to plain JS where we first type check it (using tsc's --checkJS) šŸ™ƒ. Loving #typescript šŸ’™
1
7
Announcing StrykerJS 6.0 Beta šŸŽ‰ With: šŸ“¦ ECMAScript module support ā© Hot reload šŸ—æ Ignore static support šŸ“ƒ ESM based config Combining hot reload with ignoring static mutants can give you a 70% performance boost! Why not try it out today? stryker-mutator.io/blog/anno…
2
4
4
Also a shout-out to @JoshuaKGoldberg for adding the "Allowing code in constructor before `super()`". Something that can be frustrating from time to time and now "just works" as excepted. Well done! šŸ‘
2
.@typescript 4.6 was released yesterday! šŸ˜(without too much noise? šŸ™„) . The feature I'm most excited about is "Control Flow Analysis for Destructured Discriminated Unions". It makes more of the code you want to write "just work". Simply magical 🤩✨ devblogs.microsoft.com/types…
1
1
3