Software engineer in London. TypeScript and AI. VP SWE @jpmorgan @chase_uk

London
Joined February 2022
bun.sh vs create-react-app 🤯 #bunjs
123
713
202
5,167
building on this: port 65536 is now a compile error. no runtime check, no recursion 🧱
turns out TypeScript types can enforce a min and max string length too
1
2
148
turns out TypeScript types can enforce a min and max string length too
turns out TypeScript types can enforce an exact string length
3
1
7
538
Built an open benchmark off the back of this: 5 typescript checkers, 3 real projects, raw output behind every result Controlled numbers come in under my quick first run. tsc-ts is 4.5x faster than tsgo on type-fest at defaults, 3.4x with both at 10 threads. ts-checker-bench.danfry.dev
TypeScript is 6 times faster than go[*]
3
1
12
1,148
cc @ctatedev @theo @boshen_c @jarredsumner if anything's set up wrong for your tool let me know and i'll fix it and rerun
1
58
Daniel Fry retweeted
hey. here's a little demo of the most meaningful improvement to my productivity since speech-to-text.
200
136
84
3,224
279,638
Daniel Fry retweeted
turns out TypeScript types can enforce an exact string length
8
4
2
145
122,310
turns out TypeScript types can enforce an exact string length
8
4
2
145
122,310
another use: Ethereum addresses vs hashes (the case @MicahZoltu asked for in TypeScript issue #52243). Address = exactly 40 hex chars, Hash = exactly 64, so mixing them up is a compile error. no brands, no runtime code. playground: typescriptlang.org/play/?#co…
1
288
xitter.cf/techsavvytravvy/status… builds on @techsavvytravvy's non-empty string trick. his gives you a minimum length, the `"" & String` end marker gives you an exact one.
i found a way to represent a non-empty string without branded types and without using `any`
2
799
love this effect in @opencode
3
1
37
13,077
Have also really been enjoying using the North Mini Code model from @cohere
1
281