HNHacker News
TopNewBestAskShowJobs

jesus-was-here

7 karma · joined July 17, 2024

submissionscomments
jesus-was-here··on Have You Wanted to Quit Social Media?
I did quit Facebook over 10 years ago. It is easy to know who is a friend now, because real friends have my phone number, or email, or other non-"social" apps/services to contact me on.

Just pull the Facebook plug. Don't keep Messenger either. It's great.

jesus-was-here··on What can TypeScript learn from Zig? What can Zig learn from TypeScript?
Out of curiosity, how long is your experience with TypeScript? I feel like I have to ask.

>TypeScript does not modify this code when it compiles to JavaScript

TypeScript does not modify any code which is valid JavaScript. Your idea of adding some sort of "debug build" to TypeScript would never be performed by `tsc`, but perhaps by bundlers, etc.

You might want to look up libraries like zod, or even better, Effect: https://effect.website/