HNHacker News
TopNewBestAskShowJobs

marko424

7 karma · joined July 12, 2023

submissionscomments
marko424··on Show HN: TypeScript Guide
hey thanks, there are, but as any style guide all of them are opinioated, including this one.
marko424··on Show HN: TypeScript Guide
https://mkosir.github.io/typescript-style-guide/
marko424··on TypeScript – Annotation vs. Inference Help
So when to use which?
marko424··on tRPC – Build and consume typesafe APIs without schemas or code generation
If anyone wants to split, make backend and frontend repositories separate, take a look - https://github.com/mkosir/trpc-api-boilerplate
marko424··on [dead]
When to use which? https://mkosir.github.io/typescript-style-guide/#array-types
marko424··on Show HN: TypeScript Style Guide
> I love enums in other languages

This. Also huge on enums elsewhere, just not in typescript. I think this could be the reason devs first reach out to enums, since familiarity from other languages.

marko424··on Show HN: TypeScript Style Guide
In general nothing wrong with enums, but imo you need to be a bit more careful when utilising them.
marko424··on [dead]
Hey, since every code style guide is opinionated, mine is no different, would like to hear your agreed or disagreed opinions on it.
marko424··on Show HN: TypeScript and React Style Guide
Hey, since every code style guide is opinionated, mine is no different, would like to hear your agreed or disagreed opinions on it.