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

I wish more languages had keyword arguments. In the unfortunate languages I've used without them (C++/Rust), I usually avoid mixing up units/types through naming, but in the rare situations I do find myself confusing similar but distinct dimensions despite clear naming, I selectively opt into custom types where their utility justifies their interoperability/arithmetic/conversion downsides.


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

Search: