Better HN
topnewbestaskshowjobs
Log inSign up

marko424

7 karma · joined Jul 12, 2023 (3y ago) · 31 submissions

Submissions

comment 3y ago · link · parent

hey thanks, there are, but as any style guide all of them are opinioated, including this one.

comment 3y ago · link · parent

https://mkosir.github.io/typescript-style-guide/

3.

Show HN: TypeScript Guide

1 points · by marko424 · 3y ago · 4 comments

comment 3y ago · link · parent

So when to use which?

5.

TypeScript – Annotation vs. Inference Help(mkosir.github.io ↗)

2 points · by marko424 · 3y ago · 1 comment

comment 3y ago · link · parent

If anyone wants to split, make backend and frontend repositories separate, take a look - https://github.com/mkosir/trpc-api-boilerplate

comment 3y ago · link · parent

When to use which? https://mkosir.github.io/typescript-style-guide/#array-types

8.

Show HN: TypeScript Style Guide(mkosir.github.io ↗)

1 points · by marko424 · 3y ago · discuss

comment 3y ago · link · parent

> 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.

comment 3y ago · link · parent

In general nothing wrong with enums, but imo you need to be a bit more careful when utilising them.

11.

Show HN: TypeScript Style Guide(github.com ↗)

5 points · by marko424 · 3y ago · 5 comments

comment 3y ago · link · parent

Hey, since every code style guide is opinionated, mine is no different, would like to hear your agreed or disagreed opinions on it.

comment 3y ago · link · parent

Hey, since every code style guide is opinionated, mine is no different, would like to hear your agreed or disagreed opinions on it.

14.

Show HN: TypeScript and React Style Guide(github.com ↗)

4 points · by marko424 · 3y ago · 1 comment

15.

Show HN: Easily apply tilt hover effect on React components(github.com ↗)

2 points · by marko424 · 3y ago · discuss

16.

Show HN: tRPC API boilerplate – separate BE-FE repositories(github.com ↗)

3 points · by marko424 · 3y ago · discuss

12