Everything TypeScript

Joined January 2021
Photos and videos
typescripter retweeted
I love Elixir and functional programming. I also love OOP. Basically I love writing code. ❤️ So, I’m growing a little weary from “FP is better than OOP” arguments, especially when supporting examples show a lack of OO understanding. Nothing’s “better” in an absolute way.
2
1
16
typescripter retweeted
javascript devs be like
41
548
3,318
Browsing the #web in Europe is such an awful experience with all the cookie consent on every darn site. Can someone please make this go away?!
I have a feeling Blogger is one gigantic technical debt that @Google is unwilling to pay
A trend I have noticed in beginner level tutorials about #GraphQL is the upfront disclaimer that GraphQL has nothing to do with graph database or graph theory. No, GraphQL has nothing to do with a graph database, but yes GraphQL has everything to do about Graph theory!
1
1
In fact I never fully internalised #GraphQL until I started seeing it from the perspective of graph theory. The Object types are the vertex, scaler types are terminating vertices, and the resolvers are the edges.
1
#Angular feels like a bunch of #Java developers were set loose on #JavaScript! 😬😅
2
Been thinking about why I am super excited about #deno... And I have to admit, the native #TypeScript support is a huge selling point. I really do not want to be fiddling around with build steps just to be able to use TypeScript!
1
1
typescripter retweeted
Move esbuild into v8 you cowards! x.com/tlakomy/status/1362457…

18 Feb 2021
Prediction: TypeScript will eat JS world sooner than we think
2
5
40
Only thing though, is that it does not work. Got the error: Types of property 'length' are incompatible. Type 'number' is not assignable to type '3' This worked instead: type MyArray<T, l extends number> = Array<T> & { 0: T; length: l} x.com/markdalgleish/status/1…

How to enforce the length of a generic array in TypeScript: type MyArray<T, Length extends number> = Array<T> & { length: Length }
Search results on anything OAuth is polluted by services trying to sell you their magic! Auth0 and Okta are the primary offenders! Dammit! I just need a place to learn more about OAuth, not looking to be sold an auth service!
Star Trek or Star Wars? And why?
typescripter retweeted
“Tackling TypeScript” is now free to read online: exploringjs.com/tackling-ts/
11
332
1,170
typescripter retweeted
Tried TypeScript and hated it? Tell me what about your experience made you stop using it (RT please!! 😁)
17
31
30
Transfer out and uninstall @RobinhoodApp now!
It is simple. It is just keeping it "HTML" :) x.com/marvinhagemeist/status…

Curious why many devs use <></> as an empty value in JSX. By now I've seen it in multiple projects at work. <></> is the same as writing <Fragment></Fragment>. The "proper" way would be to use "null" instead. Maybe it's because <></> visually looks empty? 🤔
typescripter retweeted
Curious why many devs use <></> as an empty value in JSX. By now I've seen it in multiple projects at work. <></> is the same as writing <Fragment></Fragment>. The "proper" way would be to use "null" instead. Maybe it's because <></> visually looks empty? 🤔
16
1
22