Comment

Comment by heywhatupboys

> Wrap your structs in a typedef

NOOoooooo, please stop doing this. unless you are a library author who gets to define things like uint8_t, please do not do this

> Use struct wrappers for strong typing

even BIGGER no. This is completely misunderstanding what a typedef is and what it should be used for.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton