General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
VikingTheDude
ThePrimeagen
comments
Comments by "VikingTheDude" (@vikingthedude) on "ThePrimeagen" channel.
Previous
1
Next
...
All
The vimrc video has been made private ☹
3
Prime has said he mainly does printf debugging. He only sparingly uses the debugger. I've been going through TJ's playlist on neovim called Bash2basics. There's a video on debugging in it, haven't watched it yet though
2
Glad I watched it till the end
1
Yeah rust enums are tagged unions. TS tagged unions can be achieved by using literal types which I hoped he would've shown here
1
One thing you could do in the append example is use a discriminated union (aka a tagged union) to have the TS equivalent of rust: type Item = { kind: 'Foo', val: string} | { kind: 'Bar', val: number } | Custom This will be type-narrowed by TS appropriately in guard clauses, switch statements, etc. But yeah this isn't nearly as good as in rust
1
How does Writing an Interpreter compare against Crafting Interpreters by Robert Nystrom?
1
Same here! Now 1.5 years and happy i made the switch!
1
Previous
1
Next
...
All