Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which is an altogether different discussion: the OP focused on compound types, and not on type "aliases" and their benefits.

Most languages and their typing systems would still allow adding speed and fuel-left if you only aliases them, so you are likely going to need to sacrifice ergonomics by wrapping them in a compound type instead.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: