
🧘♂️ Senior Software Engineer at @jodelapp ☁️ Work with distributed systems
Remote (CET/CEST)
Joined June 2020
- Tweets509
- Following509
- Followers2.7K
- Likes7.4K
I have setup a time limit for using YouTube on my phone to 1m per day.
Just enough time to open the 2FA messages when login in other devices.
I didn’t know you can _watch_ anything in that app /s
2
537
I fell in the trap of trying to port TypeScript to a lang that compiles to native.
I ported the scanner, it maps 1:1 to what TypeScript does.
Please help, because I run it and it works and it gave me the boost I didn’t need to continue with the parser 😂
1
1
384
Totally unrelated, but reading all that I somehow can’t stop thinking about Dart lang. You can compile it from Dart (JSSugar-like) to JS (JS0) => JS0 + actual type safety at runtime. If only interop with Typescript was simpler.
Replying to @nullvoxpopuli
JS0 -- the minimum JS the engines want to implement
JSSugar -- what you're already writing today that is ultimately compiled down to JS0
1
505
Unrelated again, recursive Fibonacci function written in Dart and compiled to JS runs faster than the same Fibonacci function written in plain JS. I suppose there is some compiled-to-JS tail call optimization. I was lazy to check the JS output to see the magic.
1
180
The year is 2030:
In a future React release, it’s likely we’ll release our own JavaScript engine since we’ve already patched all the built-ins anyways.
😅🙈
In a future React release, it's likely we'll patch the Date API during SSR and hydration to prevent mismatches.
I expect this to be controversial because people have convinced themselves that patching is automatically bad.
Sharing this to provoke you now, instead of later 😇
1
1
1,138
This is a functional JS backend server:
```
require('http').createServer((req, res) => res.end('hello world')).listen(3000);
```
Every time I look at newest in the React.js space, there is one more solution for a problem that didn't exist before.
Just thinking out loud.
1
2
962
💡TypeScript #14
🧙A simple way to expose a class' properties as read-only but allowing them to be modified with methods is to make `this` mutable
typescriptlang.org/play?#cod…
I was thinking of getting 1 external monitor. Now I'm wondering if I need 4 external monitors or a Vision Pro #WWDC23
I could place 1 vscode window on each wall and the side-projects window on the roof (because I'll likely not look at it anyways 🤪)
1
651










