Comment

Comment by MichaelEstes

I might be in the minority, but I hate type re-definitions, I want types to just tell me how much memory a variable is using and it’s bit interpretation. Every variable already has a name, use that to communicate the data’s representation and if it’s really important that representation mismatches are caught at compile time wrap it in a struct. I don’t want to guess how much memory the compiler decided a variable needed (though that is also present to an extent in C/C++)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton