Better HN
topnewbestaskshowjobs
Log inSign up

jesus-was-here

7 karma · joined Jul 17, 2024 (2y ago) · 9 submissions

Submissions

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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/